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