Remove dead code
This commit is contained in:
@@ -455,11 +455,6 @@ angular.module('Application').service('Client', ['$http', '$interval', '$timeout
|
||||
if (error) return callback(error);
|
||||
if (status !== 202) return callback(new ClientError(status, data));
|
||||
|
||||
// put new app with amended title in cache
|
||||
data.manifest = { title: title };
|
||||
data.iconUrl = data.iconUrl ? (that.apiOrigin + data.iconUrl + '?access_token=' + token) : null;
|
||||
data.progress = 0;
|
||||
|
||||
callback(null, data.id);
|
||||
});
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user