From adfccb4fc042a23d4b0a1e8769f04256a62646b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Steffen=20Schro=CC=88der?= Date: Tue, 5 Aug 2014 00:55:59 +0200 Subject: [PATCH] deprecated ManiaControl log method to directly use Logger instead --- application/core/ManiaControl.php | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/application/core/ManiaControl.php b/application/core/ManiaControl.php index c6aa9c90..c46210ba 100644 --- a/application/core/ManiaControl.php +++ b/application/core/ManiaControl.php @@ -178,12 +178,11 @@ class ManiaControl implements CallbackListener, CommandListener, TimerListener { * * @param string $message * @param bool $stripCodes + * @deprecated + * @see Logger::log() */ public function log($message, $stripCodes = false) { - if ($stripCodes) { - $message = Formatter::stripCodes($message); - } - Logger::log($message); + Logger::log($message, true, true, $stripCodes); } /**