From ad5ddcbb7333fae4a7e0cc95ed5b90b5a672b38b Mon Sep 17 00:00:00 2001 From: Julian Lam Date: Sat, 7 Nov 2015 12:31:19 -0500 Subject: [PATCH] whitespace fixes --- src/socket.io/admin/rooms.js | 4 ++-- src/upgrade.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/socket.io/admin/rooms.js b/src/socket.io/admin/rooms.js index 618d5b9c0b..bf66873a52 100644 --- a/src/socket.io/admin/rooms.js +++ b/src/socket.io/admin/rooms.js @@ -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) }; }); diff --git a/src/upgrade.js b/src/upgrade.js index ad31e95e8e..4a03f458b0 100644 --- a/src/upgrade.js +++ b/src/upgrade.js @@ -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);