Bump to 3.0.3

merge-requests/41/head
Mike Koch 7 years ago
parent 2ca6d230e3
commit 80e69f3ef0

@ -1,4 +1,4 @@
<?php
// Define the current build
define('MODS_FOR_HESK_BUILD', 35);
define('MODS_FOR_HESK_BUILD', 37);

@ -37,7 +37,7 @@ if (!defined('IN_SCRIPT')) {die('Invalid attempt');}
// We will be installing this HESK version:
define('HESK_NEW_VERSION','2.7.2');
define('MODS_FOR_HESK_NEW_VERSION','3.0.2');
define('MODS_FOR_HESK_NEW_VERSION','3.0.3');
define('REQUIRE_PHP_VERSION','5.3.0');
define('REQUIRE_MYSQL_VERSION','5.0.7');

@ -78,6 +78,8 @@ if ($version == 2) {
execute301Scripts();
} elseif ($version == 36) {
execute302Scripts();
} elseif ($version == 37) {
execute303Scripts();
} else {
$response = 'The version "' . $version . '" was not recognized. Check the value submitted and try again.';
print $response;

@ -104,6 +104,9 @@ function processUpdates(startingVersion) {
} else if (startingVersion < 36) {
startVersionUpgrade('302');
executeUpdate(36, '302', '3.0.2');
} else if (startingVersion < 37) {
startVersionUpgrade('303');
executeUpdate(37, '303', '3.0.3');
} else {
installationFinished();
}

@ -118,6 +118,7 @@ hesk_dbConnect();
<select name="current-version" class="form-control">
<option disabled>Select One, or "No Previous Installation" Below</option>
<optgroup label="Mods for HESK 3">
<option value="36">3.0.2</option>
<option value="35">3.0.1</option>
<option value="34">3.0.0</option>
<option value="33">3.0.0 RC 1 [Prerelease Build]</option>

@ -951,4 +951,11 @@ function execute302Scripts() {
ADD COLUMN `custom50` MEDIUMTEXT");
updateVersion('3.0.2');
}
function execute303Scripts() {
global $hesk_settings;
hesk_dbConnect();
updateVersion('3.0.3');
}
Loading…
Cancel
Save