don't report in debug mode
This commit is contained in:
parent
0a716aeb91
commit
36b8baaecd
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user