From d7eb30ccbd1c96ef4a6e246d81d95e001b93e9e1 Mon Sep 17 00:00:00 2001 From: Julian Lam Date: Fri, 23 Aug 2013 14:57:33 -0400 Subject: [PATCH] fuck git pt 2 --- src/user.js | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/user.js b/src/user.js index 02e1a853fe..b1a8ebccfc 100644 --- a/src/user.js +++ b/src/user.js @@ -139,13 +139,7 @@ var utils = require('./../public/src/utils.js'), } User.getUserField = function(uid, field, callback) { - RDB.hget('user:' + uid, field, function(err, data) { - if(err === null) { - callback(data); - } else { - console.log(err); - } - }); + RDB.hget('user:' + uid, field, callback); } User.getUserFields = function(uid, fields, callback) {