- set used-ticket-cycle on update too

- setting version to 0.9.14-svn2
This commit is contained in:
Michael Kaufmann (d00p)
2010-10-12 06:32:29 +00:00
parent 3f0a491f8c
commit 8d1f894622
3 changed files with 15 additions and 2 deletions

View File

@@ -1096,3 +1096,16 @@ if(isFroxlorVersion('0.9.14-svn1'))
updateToVersion('0.9.13.1');
}
if(isFroxlorVersion('0.9.13.1'))
{
showUpdateStep("Updating from 0.9.13.1 to 0.9.14-svn2", false);
if($settings['ticket']['enabled'] == '1')
{
showUpdateStep("Setting INTERVAL for used-tickets cronjob");
setCycleOfCronjob(null, null, $settings['ticket']['reset_cycle'], null);
lastStepStatus(0);
}
updateToVersion('0.9.14-svn2');
}