migrate permissions and admin flag to user.role
This commit is contained in:
@@ -122,7 +122,7 @@ function checkAppUpdates(callback) {
|
||||
|
||||
if (notificationPending.length === 0) return callback();
|
||||
|
||||
users.getAllAdmins(function (error, admins) {
|
||||
users.getAdmins(function (error, admins) {
|
||||
if (error) {
|
||||
console.error(error);
|
||||
return callback();
|
||||
|
||||
Reference in New Issue
Block a user