usage reporter start

This commit is contained in:
kremsy authored and Steffen Schröder committed 2014-05-01 17:35:01 +02:00
1 parent dc56815f02
commit 28d927e05e
4 files changed
+75

No files matched your search

+2
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');