From 9fb226b2aa281b37152f4d4c620070024b627cae Mon Sep 17 00:00:00 2001 From: kremsy Date: Fri, 14 Apr 2017 19:19:37 +0200 Subject: [PATCH] removed deprecated --- core/Players/PlayerActions.php | 14 +------------- core/Statistics/StatisticManager.php | 4 ++-- 2 files changed, 3 insertions(+), 15 deletions(-) diff --git a/core/Players/PlayerActions.php b/core/Players/PlayerActions.php index 98af0152..45ccbe77 100644 --- a/core/Players/PlayerActions.php +++ b/core/Players/PlayerActions.php @@ -737,17 +737,5 @@ class PlayerActions implements EchoListener, CommunicationListener, UsageInforma $this->maniaControl->getChat()->sendInformation($chatMessage); 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; - } + } diff --git a/core/Statistics/StatisticManager.php b/core/Statistics/StatisticManager.php index fb13f9d6..f326b92e 100644 --- a/core/Statistics/StatisticManager.php +++ b/core/Statistics/StatisticManager.php @@ -43,10 +43,10 @@ class StatisticManager implements UsageInformationAble { private $specialStats = array(); /** @var StatisticCollector $statisticCollector */ - public $statisticCollector = null; + private $statisticCollector = null; /** @var SimpleStatsList $simpleStatsList */ - public $simpleStatsList = null; + private $simpleStatsList = null; /** * Construct a new statistic manager instance