makes recent unread and category pages a lot faster, added logging when a user changes their username

This commit is contained in:
Baris Soner Usakli
2014-01-13 18:02:06 -05:00
parent c07bf466b2
commit a97ee201d8
4 changed files with 15 additions and 28 deletions

View File

@@ -21,6 +21,10 @@ var fs = require('fs'),
log(uid,'changed email from "' + oldEmail + '" to "' + newEmail +'"');
}
events.logUsernameChange = function(uid, oldUsername, newUsername) {
log(uid,'changed username from "' + oldUsername + '" to "' + newUsername +'"');
}
events.logAdminLogin = function(uid) {
log(uid, 'logged into admin panel');
}