removed deprecated constants

This commit is contained in:
Steffen Schröder 2014-07-25 16:39:07 +02:00
parent 002b537b47
commit 855ac29630
3 changed files with 6 additions and 18 deletions

View File

@ -16,14 +16,6 @@ class CallbackManager {
/* /*
* Constants * Constants
*/ */
// ManiaControl callbacks
/** @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 // ManiaPlanet callbacks
const CB_MP_SERVERSTART = 'ManiaPlanet.ServerStart'; const CB_MP_SERVERSTART = 'ManiaPlanet.ServerStart';
const CB_MP_SERVERSTOP = 'ManiaPlanet.ServerStop'; const CB_MP_SERVERSTOP = 'ManiaPlanet.ServerStop';
@ -52,15 +44,16 @@ class CallbackManager {
const CB_TM_PLAYERINCOHERENCE = 'TrackMania.PlayerIncoherence'; const CB_TM_PLAYERINCOHERENCE = 'TrackMania.PlayerIncoherence';
/* /*
* Public Properties * Public properties
*/ */
public $libXmlRpcCallbacks = null; public $libXmlRpcCallbacks = null;
public $shootManiaCallbacks = null; public $shootManiaCallbacks = null;
public $trackManiaCallbacks = null; public $trackManiaCallbacks = null;
/* /*
* Private Properties * Private properties
*/ */
/** @var ManiaControl $maniaControl */
private $maniaControl = null; private $maniaControl = null;
/** @var Listening[][] $callbackListenings */ /** @var Listening[][] $callbackListenings */
private $callbackListenings = array(); private $callbackListenings = array();
@ -68,7 +61,7 @@ class CallbackManager {
private $scriptCallbackListenings = array(); private $scriptCallbackListenings = array();
/** /**
* Construct a new Callbacks Manager * Construct a new callbacks manager instance
* *
* @param ManiaControl $maniaControl * @param ManiaControl $maniaControl
*/ */

View File

@ -46,11 +46,6 @@ class MapManager implements CallbackListener {
const SETTING_AUTOSAVE_MAPLIST = 'Autosave Maplist file'; const SETTING_AUTOSAVE_MAPLIST = 'Autosave Maplist file';
const SETTING_MAPLIST_FILE = 'File to write Maplist in'; const SETTING_MAPLIST_FILE = 'File to write Maplist in';
/** @deprecated Use Callbacks Interface */
const CB_BEGINMAP = 'Callbacks.BeginMap';
/** @deprecated Use Callbacks Interface */
const CB_ENDMAP = 'Callbacks.EndMap';
/* /*
* Public properties * Public properties
*/ */

View File

@ -21,13 +21,13 @@ class SettingManager implements CallbackListener {
*/ */
const TABLE_SETTINGS = 'mc_settings'; const TABLE_SETTINGS = 'mc_settings';
const CB_SETTING_CHANGED = 'SettingManager.SettingChanged'; const CB_SETTING_CHANGED = 'SettingManager.SettingChanged';
/** @deprecated Use CB_SETTING_CHANGED */
const CB_SETTINGS_CHANGED = 'SettingManager.SettingChanged';
/* /*
* Private properties * Private properties
*/ */
/** @var ManiaControl $maniaControl */
private $maniaControl = null; private $maniaControl = null;
/** @var Setting[] $storedSettings */
private $storedSettings = array(); private $storedSettings = array();
/** /**