usage reporter start

This commit is contained in:
kremsy
2014-01-17 18:58:15 +01:00
committed by Steffen Schröder
parent dc56815f02
commit 28d927e05e
4 changed files with 75 additions and 0 deletions

View File

@ -33,6 +33,7 @@ class Server implements CallbackListener {
public $titleId = null;
public $dataDirectory = '';
public $serverCommands = null;
public $usageReporter = null;
/**
* Private Properties
@ -49,6 +50,7 @@ class Server implements CallbackListener {
$this->initTables();
$this->serverCommands = new ServerCommands($maniaControl);
$this->usageReporter = new UsageReporter($maniaControl);
// Register for callbacks
$this->maniaControl->callbackManager->registerCallbackListener(CallbackManager::CB_MC_ONINIT, $this, 'onInit');