mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-30 18:46:01 +01:00
chop chop
This commit is contained in:
@@ -268,12 +268,6 @@ var async = require('async'),
|
||||
});
|
||||
};
|
||||
|
||||
User.count = function(callback) {
|
||||
db.getObjectField('global', 'userCount', function(err, count) {
|
||||
callback(err, count ? count : 0);
|
||||
});
|
||||
};
|
||||
|
||||
User.getUidByUsername = function(username, callback) {
|
||||
db.getObjectField('username:uid', username, callback);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user