user selectable pagination

This commit is contained in:
Baris Soner Usakli
2014-02-10 14:15:54 -05:00
parent 93f5f320fe
commit 242927d702
10 changed files with 233 additions and 143 deletions

View File

@@ -135,9 +135,7 @@ SocketUser.unfollow = function(socket, data, callback) {
SocketUser.saveSettings = function(socket, data, callback) {
if (socket.uid && data) {
user.setUserFields(socket.uid, {
showemail: data.showemail
}, callback);
user.saveSettings(socket.uid, data, callback);
}
};