removed deprecated

This commit is contained in:
kremsy 2017-04-14 19:19:37 +02:00
parent 974c69d226
commit 9fb226b2aa
2 changed files with 3 additions and 15 deletions

View File

@ -737,17 +737,5 @@ class PlayerActions implements EchoListener, CommunicationListener, UsageInforma
$this->maniaControl->getChat()->sendInformation($chatMessage); $this->maniaControl->getChat()->sendInformation($chatMessage);
Logger::logInfo($chatMessage, true); Logger::logInfo($chatMessage, true);
} }
/**
* Check if a Player is muted
*
* @deprecated
* @see Player::isMuted()
*/
public function isPlayerMuted($login) {
if ($player = $this->maniaControl->getPlayerManager()->getPlayer($login)) {
return $player->isMuted();
}
return false;
}
} }

View File

@ -43,10 +43,10 @@ class StatisticManager implements UsageInformationAble {
private $specialStats = array(); private $specialStats = array();
/** @var StatisticCollector $statisticCollector */ /** @var StatisticCollector $statisticCollector */
public $statisticCollector = null; private $statisticCollector = null;
/** @var SimpleStatsList $simpleStatsList */ /** @var SimpleStatsList $simpleStatsList */
public $simpleStatsList = null; private $simpleStatsList = null;
/** /**
* Construct a new statistic manager instance * Construct a new statistic manager instance