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, { user.setUserFields(uid, {
showemail: data.showemail showemail: data.showemail
}, function(err, result) { }, function(err, result) {
if(err) { callback(err);
return callback(false);
}
callback(true);
}); });
} }
}); });

Loading…
Cancel
Save