Merge pull request #4055 from pichalite/master

add lastonlineISO to user
v1.18.x
Julian Lam 9 years ago
commit 74b23636cb

@ -116,6 +116,7 @@ var async = require('async'),
user.administrator = results.isAdmin[index];
user.banned = parseInt(user.banned, 10) === 1;
user['email:confirmed'] = parseInt(user['email:confirmed'], 10) === 1;
user.lastonlineISO = utils.toISOString(user.lastonline);
}
});
plugins.fireHook('filter:userlist.get', {users: results.userData, uid: uid}, next);

Loading…
Cancel
Save