replaced trigger_error calls by Logger methods

This commit is contained in:
Steffen Schröder committed 2014-08-03 13:29:54 +02:00
1 parent 53ccd70b45
commit c246568f95
9 files changed
+33 -30

No files matched your search

+3 -1
View File
@@ -2,6 +2,8 @@
namespace ManiaControl\Utils;
use ManiaControl\Logger;
/**
* Class offering Methods to format Texts and Values
*
@@ -153,7 +155,7 @@ abstract class Formatter {
return $nations[$country];
}
if ($country) {
trigger_error("Couldn't map Country: '{$country}'!");
Logger::logWarning("Couldn't map Country: '{$country}'!");
}
return 'OTH';
}