removing dead code
This commit is contained in:
parent
62f0b95377
commit
dbfb1e83ba
@ -107,9 +107,7 @@ class Configuration
|
|||||||
if (is_readable($configIni)) {
|
if (is_readable($configIni)) {
|
||||||
// don't overwrite already converted file
|
// don't overwrite already converted file
|
||||||
if (!is_file($configFile)) {
|
if (!is_file($configFile)) {
|
||||||
$iniUpgradeError = false;
|
$iniHandle = fopen($configIni, 'r', false, stream_context_create());
|
||||||
$context = stream_context_create();
|
|
||||||
$iniHandle = fopen($configIni, 'r', 1, $context);
|
|
||||||
$written = file_put_contents($configFile, ';<?php /*' . PHP_EOL);
|
$written = file_put_contents($configFile, ';<?php /*' . PHP_EOL);
|
||||||
$written = file_put_contents($configFile, $iniHandle, FILE_APPEND);
|
$written = file_put_contents($configFile, $iniHandle, FILE_APPEND);
|
||||||
fclose($iniHandle);
|
fclose($iniHandle);
|
||||||
|
Loading…
Reference in New Issue
Block a user