mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-06 05:55:48 +01:00
remove empty block
This commit is contained in:
@@ -24,9 +24,7 @@ exports.processSortedSet = function (setKey, process, options, callback) {
|
||||
// Progress bar handling (upgrade scripts)
|
||||
if (options.progress) {
|
||||
db.sortedSetCard(setKey, function (err, total) {
|
||||
if (err) {
|
||||
// Unable to get total, do nothing.
|
||||
} else {
|
||||
if (!err) {
|
||||
options.progress.total = total;
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user