unregister not implemented interface

This commit is contained in:
kremsy 2014-04-09 10:24:54 +02:00 committed by Steffen Schröder
parent b7e167fa95
commit c3580f41f7

View File

@ -69,7 +69,6 @@ class DynamicPointlimitPlugin implements CallbackListener, CommandListener, Plug
* Unload the plugin and its resources * Unload the plugin and its resources
*/ */
public function unload() { public function unload() {
$this->maniaControl->manialinkManager->unregisterManialinkPageAnswerListener($this);
$this->maniaControl->callbackManager->unregisterCallbackListener($this); $this->maniaControl->callbackManager->unregisterCallbackListener($this);
unset($this->maniaControl); unset($this->maniaControl);