Implement *deactivate-catchall*-feature, refs #fixes 1114

Signed-off-by: Arnold Bechtoldt <mail@arnoldbechtoldt.com>
This commit is contained in:
Arnold Bechtoldt
2012-08-21 20:08:20 +02:00
parent 3655055030
commit 78f286cbda
10 changed files with 121 additions and 25 deletions

View File

@@ -1951,3 +1951,14 @@ if(isFroxlorVersion('0.9.28-svn3'))
updateToVersion('0.9.28-svn4');
}
if(isFroxlorVersion('0.9.28-svn4')) {
showUpdateStep("Updating from 0.9.28-svn4 to 0.9.28-svn5");
// Catchall functionality (enabled by default) see #1114
$db->query("INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES ('catchall', 'catchall_enabled', '1');");
lastStepStatus(0);
updateToVersion('0.9.28-svn5');
}