Explorar o código

TS3 Fixes

These lines were also causing a Fatal Error when attempting to query a
TS3 server.

It must've been missed from the post I wrote:
http://www.opengamepanel.org/forum/viewthread.php?thread_id=5169#post_24891
Adjokip %!s(int64=9) %!d(string=hai) anos
pai
achega
b7338955e4

+ 0 - 2
protocol/TeamSpeak3/Node/Channel.php

@@ -446,8 +446,6 @@ class TeamSpeak3_Node_Channel extends TeamSpeak3_Node_Abstract
   public function delete($force = FALSE)
   {
     $this->getParent()->channelDelete($this->getId(), $force);
-
-    unset($this);
   }
 
   /**

+ 0 - 2
protocol/TeamSpeak3/Node/Channelgroup.php

@@ -74,8 +74,6 @@ class TeamSpeak3_Node_Channelgroup extends TeamSpeak3_Node_Abstract
   public function delete($force = FALSE)
   {
     $this->getParent()->channelGroupDelete($this->getId(), $force);
-
-    unset($this);
   }
 
   /**

+ 0 - 2
protocol/TeamSpeak3/Node/Servergroup.php

@@ -74,8 +74,6 @@ class TeamSpeak3_Node_Servergroup extends TeamSpeak3_Node_Abstract
   public function delete($force = FALSE)
   {
     $this->getParent()->serverGroupDelete($this->getId(), $force);
-
-    unset($this);
   }
 
   /**