moved core callbacks constants into callbacks interface

server options fix
This commit is contained in:
Steffen Schröder
2014-05-24 16:39:12 +02:00
parent 5e688a5354
commit f915417b8b
21 changed files with 63 additions and 51 deletions

View File

@@ -17,9 +17,12 @@ class CallbackManager {
*/
// ManiaControl callbacks
// TODO: move into Callbacks interface
const CB_ONINIT = 'ManiaControl.OnInit';
const CB_AFTERINIT = 'ManiaControl.AfterInit';
const CB_ONSHUTDOWN = 'ManiaControl.OnShutdown';
/** @deprecated Use Callbacks Interface */
const CB_ONINIT = 'Callbacks.OnInit';
/** @deprecated Use Callbacks Interface */
const CB_AFTERINIT = 'Callbacks.AfterInit';
/** @deprecated Use Callbacks Interface */
const CB_ONSHUTDOWN = 'Callbacks.OnShutdown';
// ManiaPlanet callbacks
const CB_MP_SERVERSTART = 'ManiaPlanet.ServerStart';
@@ -49,8 +52,8 @@ class CallbackManager {
/*
* Public Properties
*/
public $shootManiaCallbacks = null;
public $libXmlRpcCallbacks = null;
public $shootManiaCallbacks = null;
/*
* Private Properties