removing dead code

This commit is contained in:
El RIDO 2017-10-04 22:06:39 +02:00
parent 62f0b95377
commit dbfb1e83ba
No known key found for this signature in database
GPG Key ID: 0F5C940A6BD81F92

View File

@ -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);