mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-08 06:55:46 +01:00
... and again
This commit is contained in:
@@ -56,6 +56,8 @@ Upgrade.upgrade = function() {
|
|||||||
notifications.get(nid, null, function(notif_data) {
|
notifications.get(nid, null, function(notif_data) {
|
||||||
if (notif_data) {
|
if (notif_data) {
|
||||||
RDB.zadd(key, notif_data.datetime, nid, next);
|
RDB.zadd(key, notif_data.datetime, nid, next);
|
||||||
|
} else {
|
||||||
|
next();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}, next);
|
}, next);
|
||||||
|
|||||||
Reference in New Issue
Block a user