Remove unused function

This commit is contained in:
Girish Ramakrishnan
2019-10-11 15:24:25 -07:00
parent bf454816ea
commit 247eea1a0c

View File

@@ -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) {