don't report in debug mode

This commit is contained in:
Steffen Schröder 2014-05-18 21:45:28 +02:00
parent 0a716aeb91
commit 36b8baaecd

View File

@ -46,7 +46,7 @@ class UsageReporter implements TimerListener {
* @param float $time
*/
public function reportUsage($time) {
if (!$this->maniaControl->settingManager->getSettingValue($this, self::SETTING_REPORT_USAGE)) {
if (ManiaControl::DEBUG_MODE || !$this->maniaControl->settingManager->getSettingValue($this, self::SETTING_REPORT_USAGE)) {
return;
}