moved dev mode constant

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

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;
}