Skip to content

Commit

Permalink
The ID of the class must start with _\
Browse files Browse the repository at this point in the history
  • Loading branch information
magnetik committed Feb 12, 2014
1 parent 58ffb83 commit dbc27bc
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions ManiaLive/PluginHandler/Plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ final function __construct()
$this->dependencies = array();
$this->methods = array();

$this->id = get_class($this);
$this->id = "\\".get_class($this);
$this->setVersion(1);

$config = \ManiaLive\DedicatedApi\Config::getInstance();
Expand Down Expand Up @@ -453,7 +453,6 @@ function onUnload()
$this->disableApplicationEvents();
$this->disableDedicatedEvents();
$this->disableStorageEvents();
$this->disableThreadingEvents();
$this->disableTickerEvent();
$this->disablePluginEvents();

Expand All @@ -468,13 +467,6 @@ function onPreLoop() {}
function onPostLoop() {}
function onTerminate() {}

// threading events
function onThreadDies($threadId) {}
function onThreadRestart($threadId) {}
function onThreadStart($threadId) {}
function onThreadTimesOut($threadId) {}
function onThreadKilled($threadId) {}

// ticker event
function onTick() {}

Expand Down

0 comments on commit dbc27bc

Please sign in to comment.