user search in admin/users

v1.18.x
Baris Usakli 12 years ago
parent 941ed7e194
commit be0afc43a8

@ -254,7 +254,6 @@ var utils = require('./../public/src/utils.js'),
} }
User.search = function(username, callback) { User.search = function(username, callback) {
console.log('searching '+username);
RDB.keys('username:*'+ username + '*:uid', function(err, keys) { RDB.keys('username:*'+ username + '*:uid', function(err, keys) {
if(err === null) { if(err === null) {
if(keys && keys.length) { if(keys && keys.length) {

Loading…
Cancel
Save