Stable version fix

This commit is contained in:
Jan 2023-01-03 23:55:39 +01:00
parent 77e0160a4e
commit c5c418671e
2 changed files with 6 additions and 75 deletions

View File

@ -205,6 +205,12 @@ if (versioncheck($version, '6.1.8', 'update_617-618.php', $response)) {
if (versioncheck($version, '6.2.0', 'update_618-620.php', $response)) {
$version = '6.2.0';
}
if (versioncheck($version, '6.2.1', 'update_620-621.php', $response)) {
$version = '6.2.1';
}
if (versioncheck($version, '6.2.2', 'update_621-622.php', $response)) {
$version = '6.2.2';
}
try {

View File

@ -1,75 +0,0 @@
<?php
/**
* File: update_616-620.php.
* Author: Ulrich Block
* Date: 19.07.20
* Time: 18:38
* Contact: <ulrich.block@easy-wi.com>
*
* This file is part of Easy-WI.
*
* Easy-WI is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Easy-WI is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with Easy-WI. If not, see <http://www.gnu.org/licenses/>.
*
* Diese Datei ist Teil von Easy-WI.
*
* Easy-WI ist Freie Software: Sie koennen es unter den Bedingungen
* der GNU General Public License, wie von der Free Software Foundation,
* Version 3 der Lizenz oder (nach Ihrer Wahl) jeder spaeteren
* veroeffentlichten Version, weiterverbreiten und/oder modifizieren.
*
* Easy-WI wird in der Hoffnung, dass es nuetzlich sein wird, aber
* OHNE JEDE GEWAEHELEISTUNG, bereitgestellt; sogar ohne die implizite
* Gewaehrleistung der MARKTFAEHIGKEIT oder EIGNUNG FUER EINEN BESTIMMTEN ZWECK.
* Siehe die GNU General Public License fuer weitere Details.
*
* Sie sollten eine Kopie der GNU General Public License zusammen mit diesem
* Programm erhalten haben. Wenn nicht, siehe <http://www.gnu.org/licenses/>.
*/
if (isset($include) and $include == true) {
$query = $sql->prepare("INSERT INTO `easywi_version` (`version`,`de`,`en`) VALUES
('6.2.2','<div align=\"right\">03.01.2023</div>
<b>&Auml;nderungen:</b><br/>
<ul>
<li>General
<ul>
</ul></li></ul>
<b>Bugfixes:</b>
<ul>
<li>Updater Fixed</li>
</ul>
<b>Zukunft:</b>
<li>Vorbereitung um die V-Server / Netzwerkmodule zu entfernen</li>
</ul>','<div align=\"right\">28.07.2020</div>
<b>Changes:</b><br/>
<ul>
<li>General
<ul>
</ul></li></ul>
<b>Bugfixes:</b>
<ul>
<li>Updater Fixed</li>
</ul>
<b>Future:</b>
<li>preparation to remove V-Server / Network modules</li>
</ul>')");
$query->execute();
$response->add('Action: insert_easywi_version done: ');
} else {
echo "Error: this file needs to be included by the updater!<br />";
}