mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-06 14:05:46 +01:00
mark all notifs as read functionality. CSS tweaks...
This commit is contained in:
@@ -31,7 +31,7 @@ Upgrade.upgrade = function() {
|
||||
async.each(keys, function(key, next) {
|
||||
RDB.zrange(key, 0, -1, function(err, nids) {
|
||||
async.each(nids, function(nid, next) {
|
||||
notifications.get(nid, function(notif_data) {
|
||||
notifications.get(nid, null, function(notif_data) {
|
||||
RDB.zadd(key, notif_data.datetime, nid, next);
|
||||
});
|
||||
}, next);
|
||||
|
||||
Reference in New Issue
Block a user