moved dev mode constant

This commit is contained in:
Steffen Schröder committed 2014-05-24 20:56:34 +02:00
1 parent 10c8ab92ef
commit c24b7d228e
4 files changed
+5 -5

No files matched your search

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