diff --git a/lib/upgrades/UpgradeFunctions.inc.php b/lib/upgrades/UpgradeFunctions.inc.php index 257ac43..6067706 100644 --- a/lib/upgrades/UpgradeFunctions.inc.php +++ b/lib/upgrades/UpgradeFunctions.inc.php @@ -1025,7 +1025,13 @@ class UpgradeFunctions { // {{{ updateConfigFile35 function updateConfigFile35() { - $config = KTConfig::getSingleton(); + // The following is no longer needed due to defaults now being in place. + // It also was corrupting the file "sometimes". + // We leave the function in but do nothing so we don't mess with the upgrades table. + + return; + +/* $config = KTConfig::getSingleton(); $configPath = KTConfig::getConfigFilename(); $configPath = str_replace(array("\n","\r"), array('',''), $configPath); @@ -1148,8 +1154,9 @@ class UpgradeFunctions { $ini->write(); } +*/ } - // }}} + // }}} // {{{ registerIndexingTasks /** @@ -1185,7 +1192,7 @@ class UpgradeFunctions { $oScheduler->setFirstRunTime(date('Y-m-d 00:00')); $oScheduler->registerTask(); } - // }}} + // }}} } ?>