diff --git a/src/user.js b/src/user.js index bdfc30d306..52c13d4132 100644 --- a/src/user.js +++ b/src/user.js @@ -326,17 +326,13 @@ var config = require('../config.js'), RDB.get('username:' + username + ':uid', callback); }; - User.get_username_by_uid = function(uid, callback) { - User.getUserField(uid, 'username', callback); - }; - User.get_usernames_by_uids = function(uids, callback) { var usernames = []; for(var i=0, ii=uids.length; i