diff --git a/build.php b/build.php
index 3a51bf2d..a07de8f0 100644
--- a/build.php
+++ b/build.php
@@ -1,4 +1,4 @@
'2.5.3',
25 => '2.5.4',
26 => '2.5.5',
+ 27 => '2.6.0',
);
function echoInitialVersionRows($version, $build_to_version_map)
diff --git a/install/mods-for-hesk/js/version-scripts.js b/install/mods-for-hesk/js/version-scripts.js
index 5a6369a7..d2257ef0 100644
--- a/install/mods-for-hesk/js/version-scripts.js
+++ b/install/mods-for-hesk/js/version-scripts.js
@@ -74,6 +74,9 @@ function processUpdates(startingVersion) {
} else if (startingVersion < 26) {
startVersionUpgrade('255');
executeUpdate(26, '255', '2.5.5');
+ } else if (startingVersion < 27) {
+ startVersionUpgrade('260');
+ executeUpdate(27, '260', '2.6.0');
} else {
installationFinished();
}
@@ -86,7 +89,7 @@ function executeUpdate(version, cssclass, formattedVersion) {
type: 'POST',
url: 'ajax/install-database-ajax.php',
data: {version: version},
- success: function (data) {
+ success: function () {
markUpdateAsSuccess(cssclass, formattedVersion);
if (version == 9) {
migrateIpEmailBans('banmigrate', 'banmigrate');
diff --git a/install/mods-for-hesk/modsForHesk.php b/install/mods-for-hesk/modsForHesk.php
index d3fa7e53..538e291a 100644
--- a/install/mods-for-hesk/modsForHesk.php
+++ b/install/mods-for-hesk/modsForHesk.php
@@ -130,6 +130,18 @@ hesk_dbConnect();
}
?>
+
btn-block disablable"
href="installModsForHesk.php?v=23">2.5.2
+
+
+
+
btn-block disablable"
href="installModsForHesk.php?v=22">2.5.1
-
-
-
-
btn-block disablable"
href="installModsForHesk.php?v=19">2.4.1
+
+
+
+
btn-block disablable"
href="installModsForHesk.php?v=18">2.4.0
-
-
-
-
btn-block disablable"
href="installModsForHesk.php?v=15">2.3.0
+
+
+
+
btn-block disablable"
href="installModsForHesk.php?v=14">2.2.1
-
-
-
-
btn-block disablable"
href="installModsForHesk.php?v=11">2.1.0
+
+
+
+
btn-block disablable"
href="installModsForHesk.php?v=10">2.0.1
-
-
-
-
btn-block disablable"
href="installModsForHesk.php?v=7">1.6.1
+
+
+
+
btn-block disablable"
href="installModsForHesk.php?v=6">1.6.0
-
-
-
-
1.5.0
@@ -403,14 +415,14 @@ hesk_dbConnect();
1.4.0
-
+
1.2.4
diff --git a/install/mods-for-hesk/sql/installSql.php b/install/mods-for-hesk/sql/installSql.php
index 44b99fcd..16d47086 100644
--- a/install/mods-for-hesk/sql/installSql.php
+++ b/install/mods-for-hesk/sql/installSql.php
@@ -777,5 +777,6 @@ function execute260Scripts()
executeQuery("INSERT INTO `" . hesk_dbEscape($hesk_settings['db_pfix']) . "settings` (`Key`, `Value`) VALUES ('enable_calendar', '1')");
executeQuery("INSERT INTO `" . hesk_dbEscape($hesk_settings['db_pfix']) . "settings` (`Key`, `Value`) VALUES ('first_day_of_week', '0')");
executeQuery("INSERT INTO `" . hesk_dbEscape($hesk_settings['db_pfix']) . "settings` (`Key`, `Value`) VALUES ('default_calendar_view', 'month')");
- executeQuery("UPDATE `" . hesk_dbEscape($hesk_settings['db_pfix']) . "settings` SET `Value` = '2.6.0' WHERE `Key` = 'modsForHeskVersion'");
+
+ updateVersion('2.6.0');
}
\ No newline at end of file