- removing deprecated legacy_cron entry from database

- minor changes for multiserver-support
This commit is contained in:
Michael Kaufmann (d00p)
2010-10-18 09:48:26 +00:00
parent 699f451234
commit 3a9813c1b5
5 changed files with 59 additions and 30 deletions

View File

@@ -1274,3 +1274,14 @@ if(isFroxlorVersion('0.9.14-svn6'))
updateToVersion('0.9.14-svn7');
}
if(isFroxlorVersion('0.9.14-svn7'))
{
showUpdateStep("Updating from 0.9.14-svn7 to 0.9.14-svn8", false);
showUpdateStep("Removing deprecated legacy-cronjob from database");
$db->query("DELETE FROM `".TABLE_PANEL_CRONRUNS."` WHERE `cronfile` ='cron_legacy.php';");
lastStepStatus(0);
updateToVersion('0.9.14-svn8');
}