mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-06-17 00:21:30 +02:00
whitespace fixes
This commit is contained in:
@@ -79,8 +79,8 @@ SocketRooms.getAll = function(socket, data, callback) {
|
||||
totals.topics = {};
|
||||
topTenTopics.forEach(function(topic, index) {
|
||||
totals.topics[topic.tid] = {
|
||||
value: topic.count || 0,
|
||||
title: validator.escape(titles[index].title)
|
||||
value: topic.count || 0,
|
||||
title: validator.escape(titles[index].title)
|
||||
};
|
||||
});
|
||||
|
||||
|
||||
@@ -536,7 +536,7 @@ Upgrade.upgrade = function(callback) {
|
||||
if (err) {
|
||||
return next(err);
|
||||
}
|
||||
|
||||
|
||||
if (!userData.picture || !userData.gravatarpicture) {
|
||||
return next();
|
||||
}
|
||||
@@ -548,7 +548,7 @@ Upgrade.upgrade = function(callback) {
|
||||
},
|
||||
function (next) {
|
||||
db.deleteObjectField('user:' + uid, 'gravatarpicture', next);
|
||||
}
|
||||
}
|
||||
], next);
|
||||
} else {
|
||||
db.deleteObjectField('user:' + uid, 'gravatarpicture', next);
|
||||
|
||||
Reference in New Issue
Block a user