ESlint padded-blocks

This commit is contained in:
Peter Jaszkowiak
2017-02-18 02:32:24 -07:00
parent feb8405f95
commit 3b0dd2d1ef
226 changed files with 1 additions and 375 deletions

View File

@@ -12,7 +12,6 @@ var controllers = {
};
module.exports = function (middleware) {
middleware.checkGlobalPrivacySettings = function (req, res, next) {
if (!req.user && !!parseInt(meta.config.privateUserInfo, 10)) {
return middleware.authenticate(req, res, next);
@@ -157,5 +156,4 @@ module.exports = function (middleware) {
}
}
};
};