mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-15 22:13:13 +00:00
Remove dead code
This commit is contained in:
@@ -28,11 +28,8 @@ class setup
|
||||
{
|
||||
$GV = require(__DIR__ . "/../../lib/conf.d/_GV_template.inc");
|
||||
|
||||
$debug = $log_errors = false;
|
||||
$vars = array();
|
||||
|
||||
$error = false;
|
||||
$extra_conf = '';
|
||||
|
||||
foreach ($GV as $section) {
|
||||
foreach ($section['vars'] as $variable) {
|
||||
@@ -94,11 +91,6 @@ class setup
|
||||
}
|
||||
}
|
||||
|
||||
if ($variable['name'] === 'GV_debug' && $datas[$variable['name']] === '1')
|
||||
$debug = true;
|
||||
if ($variable['name'] === 'GV_log_errors' && $datas[$variable['name']] === '1')
|
||||
$log_errors = true;
|
||||
|
||||
if ($variable['type'] !== 'integer' && $variable['type'] !== 'boolean')
|
||||
$datas[$variable['name']] = $datas[$variable['name']];
|
||||
|
||||
|
Reference in New Issue
Block a user