removed unregister calls from plugin unload methods

This commit is contained in:
Steffen Schröder committed 2014-05-03 23:09:38 +02:00
1 parent f9b6437970
commit 3f1339129c
11 files changed
+6 -43

No files matched your search

@@ -112,11 +112,9 @@ class ServerRankingPlugin implements Plugin, CallbackListener, CommandListener {
}
/**
* Unload the plugin and its resources
* @see \ManiaControl\Plugins\Plugin::unload()
*/
public function unload() {
$this->maniaControl->callbackManager->unregisterCallbackListener($this);
$this->maniaControl->commandManager->unregisterCommandListener($this);
}
/**