removed unused functions

This commit is contained in:
Jan Chren
2014-09-04 00:27:30 +02:00
parent 15db488abc
commit a999046882

View File

@@ -42,15 +42,14 @@ class Debugger
ini_set('display_errors', true);
}
if ($mode == strtolower('detect')) {
if ($mode === 'detect') {
TracyDebugger::$productionMode = self::DETECT;
} elseif ($mode == strtolower('production')) {
} elseif ($mode === 'production') {
TracyDebugger::$productionMode = self::PRODUCTION;
} else {
TracyDebugger::$productionMode = self::DEVELOPMENT;
}
}
}