Remove dead code

This commit is contained in:
Romain Neutron
2013-09-04 12:06:48 +02:00
parent c8d415c562
commit dbd06e9091
67 changed files with 63 additions and 378 deletions

View File

@@ -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']];