Remove unused function
This commit is contained in:
@@ -1119,21 +1119,6 @@ angular.module('Application').service('Client', ['$http', '$interval', '$timeout
|
||||
});
|
||||
};
|
||||
|
||||
Client.prototype.getCachedApp = function (appId, callback) {
|
||||
var appFound = null;
|
||||
this._installedApps.some(function (app) {
|
||||
if (app.id === appId) {
|
||||
appFound = app;
|
||||
return true;
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
});
|
||||
|
||||
if (appFound) return callback(null, appFound);
|
||||
else return callback(new Error('App not found'));
|
||||
};
|
||||
|
||||
Client.prototype.getCachedAppSync = function (appId) {
|
||||
var appFound = null;
|
||||
this._installedApps.some(function (app) {
|
||||
|
||||
Reference in New Issue
Block a user