diff --git a/src/user.js b/src/user.js index ab0eb2298e..750c88c242 100644 --- a/src/user.js +++ b/src/user.js @@ -48,6 +48,9 @@ var config = require('../config.js'), }); } + User.setUserField = function(uid, field, value) { + RDB.db.hset(String(uid), field, value); + } User.get_gravatars_by_uids = function(uids, size, callback) {