mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-06 22:15:48 +01:00
5% more
This commit is contained in:
@@ -72,7 +72,7 @@ Upgrade.upgrade = function(callback) {
|
|||||||
newUserSlug = Utils.slugify(username);
|
newUserSlug = Utils.slugify(username);
|
||||||
User.setUserField(uid, 'userslug', newUserSlug, next);
|
User.setUserField(uid, 'userslug', newUserSlug, next);
|
||||||
} else {
|
} else {
|
||||||
winston.warn('uid '+ uid + 'doesn\'t have a valid username (' + username + '), skipping');
|
winston.warn('uid '+ uid + ' doesn\'t have a valid username (' + username + '), skipping');
|
||||||
next(null);
|
next(null);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user