just send err

v1.18.x
Baris Soner Usakli 11 years ago
parent f5741fd48b
commit 66cdb9a067

@ -341,10 +341,7 @@ module.exports.init = function(io) {
user.setUserFields(uid, {
showemail: data.showemail
}, function(err, result) {
if(err) {
return callback(false);
}
callback(true);
callback(err);
});
}
});

Loading…
Cancel
Save