Browse Source

Update installer / build number

tags/3.0.7^0
Mike Koch 2 years ago
parent
commit
fe6b4b1c48

+ 1
- 1
build.php View File

@@ -1,4 +1,4 @@
<?php

// Define the current build
define('MODS_FOR_HESK_BUILD', 40);
define('MODS_FOR_HESK_BUILD', 41);

+ 1
- 1
install/install_functions.inc.php View File

@@ -37,7 +37,7 @@ if (!defined('IN_SCRIPT')) {die('Invalid attempt');}

// We will be installing this HESK version:
define('HESK_NEW_VERSION','2.7.3');
define('MODS_FOR_HESK_NEW_VERSION','3.0.6');
define('MODS_FOR_HESK_NEW_VERSION','3.0.7');
define('REQUIRE_PHP_VERSION','5.3.0');
define('REQUIRE_MYSQL_VERSION','5.0.7');


+ 2
- 0
install/mods-for-hesk/ajax/install-database-ajax.php View File

@@ -86,6 +86,8 @@ if ($version == 2) {
execute305Scripts();
} elseif ($version == 40) {
execute306Scripts();
} elseif ($version == 41) {
execute307Scripts();
} else {
$response = 'The version "' . $version . '" was not recognized. Check the value submitted and try again.';
print $response;

+ 1
- 0
install/mods-for-hesk/installModsForHesk.php View File

@@ -49,6 +49,7 @@ $buildToVersionMap = array(
38 => '3.0.4',
39 => '3.0.5',
40 => '3.0.6',
41 => '3.0.7',
);

function echoInitialVersionRows($version, $build_to_version_map)

+ 3
- 0
install/mods-for-hesk/js/version-scripts.js View File

@@ -116,6 +116,9 @@ function processUpdates(startingVersion) {
} else if (startingVersion < 40) {
startVersionUpgrade('306');
executeUpdate(40, '306', '3.0.6');
} else if (startingVersion < 41) {
startVersionUpgrade('307');
executeUpdate(41, '307', '3.0.7');
} else {
installationFinished();
}

+ 1
- 0
install/mods-for-hesk/modsForHesk.php View File

@@ -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="40">3.0.6</option>
<option value="39">3.0.5</option>
<option value="38">3.0.4</option>
<option value="37">3.0.3</option>

+ 7
- 0
install/mods-for-hesk/sql/installSql.php View File

@@ -979,4 +979,11 @@ function execute306Scripts() {
hesk_dbConnect();

updateVersion('3.0.6');
}

function execute307Scripts() {
global $hesk_settings;
hesk_dbConnect();

updateVersion('3.0.7');
}

Loading…
Cancel
Save