Remove dead code

getNonApprovedCode code flow is ununsed (and broken by design on
the appstore side).
This commit is contained in:
Girish Ramakrishnan
2017-11-02 10:31:11 -07:00
parent a8c64bf9f7
commit 06f8aa8f29
5 changed files with 2 additions and 49 deletions

View File

@@ -697,13 +697,6 @@ angular.module('Application').service('Client', ['$http', 'md5', 'Notification',
}).error(defaultErrorHandler(callback));
};
Client.prototype.getNonApprovedApps = function (callback) {
get('/api/v1/developer/apps').success(function (data, status) {
if (status !== 200 || typeof data !== 'object') return callback(new ClientError(status, data));
callback(null, data.apps || []);
}).error(defaultErrorHandler(callback));
};
Client.prototype.getApp = function (appId, callback) {
var appFound = null;
this._installedApps.some(function (app) {