mirror of
https://github.com/getgrav/grav.git
synced 2025-10-26 07:56:07 +01:00
removed unused functions
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user