mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-06 14:05:46 +01:00
linting webserver.js
This commit is contained in:
@@ -67,8 +67,11 @@ Upgrade.upgrade = function() {
|
||||
var multi = RDB.multi();
|
||||
|
||||
keys = keys.filter(function(key) {
|
||||
if (key === 'notifications:next_nid') return false;
|
||||
else return true;
|
||||
if (key === 'notifications:next_nid') {
|
||||
return false;
|
||||
} else {
|
||||
return true;
|
||||
}
|
||||
}).map(function(key) {
|
||||
return key.slice(14);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user