Finally implement "Total Calls Today" MCI: TT

+ Add findSystemLogEntries() to StatLog amongst others
This commit is contained in:
Bryan Ashby 2018-11-25 20:13:48 -07:00
parent ec97b3e8d4
commit f471fd0ebe
9 changed files with 121 additions and 43 deletions

View file

@ -88,6 +88,7 @@ function userLogin(client, username, password, cb) {
return callback(null);
},
function updateSystemLoginCount(callback) {
StatLog.incrementNonPersistentSystemStat(SysProps.LoginsToday, 1);
return StatLog.incrementSystemStat(SysProps.LoginCount, 1, callback);
},
function recordLastLogin(callback) {