summaryrefslogtreecommitdiffstats
path: root/webapp/actions/oauth_actions.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'webapp/actions/oauth_actions.jsx')
-rw-r--r--webapp/actions/oauth_actions.jsx23
1 files changed, 0 insertions, 23 deletions
diff --git a/webapp/actions/oauth_actions.jsx b/webapp/actions/oauth_actions.jsx
index 03508efc1..54823a324 100644
--- a/webapp/actions/oauth_actions.jsx
+++ b/webapp/actions/oauth_actions.jsx
@@ -7,16 +7,6 @@ const getState = store.getState;
import * as IntegrationActions from 'mattermost-redux/actions/integrations';
-export function listOAuthApps(complete) {
- IntegrationActions.getOAuthApps(0, 10000)(dispatch, getState).then(
- (data) => {
- if (complete) {
- complete(data);
- }
- }
- );
-}
-
export function deleteOAuthApp(id, success, error) {
IntegrationActions.deleteOAuthApp(id)(dispatch, getState).then(
(data) => {
@@ -29,16 +19,3 @@ export function deleteOAuthApp(id, success, error) {
}
);
}
-
-export function registerOAuthApp(app, success, error) {
- IntegrationActions.addOAuthApp(app)(dispatch, getState).then(
- (data) => {
- if (data && success) {
- success(data);
- } else if (data == null && error) {
- const serverError = getState().requests.integrations.addOAuthApp.error;
- error({id: serverError.server_error_id, ...serverError});
- }
- }
- );
-}