mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-06-06 12:47:13 +02:00
* WIP user list - mostly complete
* Some code cleanup / renaming
This commit is contained in:
parent
b2509e9208
commit
e36507fec1
9 changed files with 144 additions and 9 deletions
|
@ -4,7 +4,7 @@
|
|||
var MenuModule = require('../core/menu_module.js').MenuModule;
|
||||
var userDb = require('../core/database.js').dbs.user;
|
||||
var ViewController = require('../core/view_controller.js').ViewController;
|
||||
var getUserLoginHistory = require('../core/stats.js').getUserLoginHistory;
|
||||
var getSystemLoginHistory = require('../core/stats.js').getSystemLoginHistory;
|
||||
var colorCodes = require('../core/color_codes.js');
|
||||
|
||||
var moment = require('moment');
|
||||
|
@ -65,7 +65,7 @@ LastCallersModule.prototype.mciReady = function(mciData, cb) {
|
|||
function fetchHistory(callback) {
|
||||
callersView = vc.getView(MciCodeIds.CallerList);
|
||||
|
||||
getUserLoginHistory(callersView.dimens.height, function historyRetrieved(err, lh) {
|
||||
getSystemLoginHistory(callersView.dimens.height, function historyRetrieved(err, lh) {
|
||||
loginHistory = lh;
|
||||
callback(err);
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue