Added preconfig hint for 0.9.31-dev4
This commit is contained in:
@@ -2455,6 +2455,7 @@ if (isFroxlorVersion('0.9.31-dev2')) {
|
|||||||
|
|
||||||
if (isFroxlorVersion('0.9.31-dev3')) {
|
if (isFroxlorVersion('0.9.31-dev3')) {
|
||||||
showUpdateStep("Updating from 0.9.31-dev3 to 0.9.31-dev4", true);
|
showUpdateStep("Updating from 0.9.31-dev3 to 0.9.31-dev4", true);
|
||||||
|
lastStepStatus(0);
|
||||||
|
|
||||||
showUpdateStep("Adding new panel_activation table");
|
showUpdateStep("Adding new panel_activation table");
|
||||||
Database::query("DROP TABLE IF EXISTS `panel_activation`;");
|
Database::query("DROP TABLE IF EXISTS `panel_activation`;");
|
||||||
@@ -2467,7 +2468,7 @@ if (isFroxlorVersion('0.9.31-dev3')) {
|
|||||||
PRIMARY KEY (id)
|
PRIMARY KEY (id)
|
||||||
) ENGINE=MyISAM;";
|
) ENGINE=MyISAM;";
|
||||||
Database::query($sql);
|
Database::query($sql);
|
||||||
|
|
||||||
lastStepStatus(0);
|
lastStepStatus(0);
|
||||||
|
|
||||||
updateToVersion('0.9.31-dev4');
|
updateToVersion('0.9.31-dev4');
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -584,4 +584,11 @@ function parseAndOutputPreconfig(&$has_preconfig, &$return, $current_version)
|
|||||||
eval("\$return.=\"" . getTemplate("update/preconfigitem") . "\";");
|
eval("\$return.=\"" . getTemplate("update/preconfigitem") . "\";");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (versionInUpdate($current_version, '0.9.31-dev4')) {
|
||||||
|
$has_preconfig = true;
|
||||||
|
$description = 'The template-variable {PASSWORD} has been replaced with {LINK}. Please update your password reset templates!<br />';
|
||||||
|
$question = '';
|
||||||
|
eval("\$return.=\"" . getTemplate("update/preconfigitem") . "\";");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user