release 1.1.1

This commit is contained in:
Newcomer1989
2016-10-08 15:26:17 +02:00
parent e20f08f8b3
commit ab76128c42
80 changed files with 4085 additions and 3002 deletions

View File

@@ -4,7 +4,7 @@
* @file
* TeamSpeak 3 PHP Framework
*
* $Id: Channelgroup.php 10/11/2013 11:35:21 scp@orilla $
* $Id: Channelgroup.php 06/06/2016 22:27:13 scp@Svens-iMac $
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -20,7 +20,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* @package TeamSpeak3
* @version 1.1.23
* @version 1.1.24
* @author Sven 'ScP' Paulsen
* @copyright Copyright (c) 2010 by Planet TeamSpeak. All rights reserved.
*/
@@ -61,7 +61,7 @@ class TeamSpeak3_Node_Channelgroup extends TeamSpeak3_Node_Abstract
*/
public function rename($name)
{
return $this->getParent()->channelGroupRename($this->getId(), $name);
$this->getParent()->channelGroupRename($this->getId(), $name);
}
/**
@@ -112,7 +112,7 @@ class TeamSpeak3_Node_Channelgroup extends TeamSpeak3_Node_Abstract
*/
public function permAssign($permid, $permvalue)
{
return $this->getParent()->channelGroupPermAssign($this->getId(), $permid, $permvalue);
$this->getParent()->channelGroupPermAssign($this->getId(), $permid, $permvalue);
}
/**
@@ -122,7 +122,7 @@ class TeamSpeak3_Node_Channelgroup extends TeamSpeak3_Node_Abstract
*/
public function permAssignByName($permname, $permvalue)
{
return $this->permAssign($permname, $permvalue);
$this->permAssign($permname, $permvalue);
}
/**
@@ -134,7 +134,7 @@ class TeamSpeak3_Node_Channelgroup extends TeamSpeak3_Node_Abstract
*/
public function permRemove($permid)
{
return $this->getParent()->channelGroupPermRemove($this->getId(), $permid);
$this->getParent()->channelGroupPermRemove($this->getId(), $permid);
}
/**
@@ -144,7 +144,7 @@ class TeamSpeak3_Node_Channelgroup extends TeamSpeak3_Node_Abstract
*/
public function permRemoveByName($permname)
{
return $this->permRemove($permname);
$this->permRemove($permname);
}
/**
@@ -212,7 +212,7 @@ class TeamSpeak3_Node_Channelgroup extends TeamSpeak3_Node_Abstract
if($this->iconIsLocal("iconid") || $this["iconid"] == 0) return;
$download = $this->getParent()->transferInitDownload(rand(0x0000, 0xFFFF), 0, $this->iconGetName("iconid"));
$transfer = TeamSpeak3::factory("filetransfer://" . $download["host"] . ":" . $download["port"]);
$transfer = TeamSpeak3::factory("filetransfer://" . (strstr($download["host"], ":") !== FALSE ? "[" . $download["host"] . "]" : $download["host"]) . ":" . $download["port"]);
return $transfer->download($download["ftkey"], $download["size"]);
}