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

@@ -4,8 +4,7 @@ exports = module.exports = {
enabled: enabled,
setEnabled: setEnabled,
status: status,
login: login,
apps: apps
login: login
};
var developer = require('../developer.js'),
@@ -52,9 +51,3 @@ function login(req, res, next) {
})(req, res, next);
}
function apps(req, res, next) {
developer.getNonApprovedApps(function (error, result) {
if (error) return next(new HttpError(500, error));
next(new HttpSuccess(200, { apps: result }));
});
}