From 9cc5ccbd722865a569af0ebc8cc1f86e188cbbec Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Fri, 27 Apr 2018 12:51:20 +0200 Subject: [PATCH] * Setup/Filemanager: fix excess looping stalling update from before 16.1 Filemanager never had tables before update to 17.1 and therefore update wont work, unless comming exactly from 16.1 --- filemanager/setup/tables_update.inc.php | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/filemanager/setup/tables_update.inc.php b/filemanager/setup/tables_update.inc.php index 21b1da1857..aced7f1922 100644 --- a/filemanager/setup/tables_update.inc.php +++ b/filemanager/setup/tables_update.inc.php @@ -7,6 +7,26 @@ * @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License */ +/** + * Some dummy updates to ease update from before 16.1 + */ +function filemanager_upgrade1_6() +{ + return $GLOBALS['setup_info']['filemanager']['currentver'] = '16.1'; +} +function filemanager_upgrade1_8() +{ + return $GLOBALS['setup_info']['filemanager']['currentver'] = '16.1'; +} +function filemanager_upgrade1_9_001() +{ + return $GLOBALS['setup_info']['filemanager']['currentver'] = '16.1'; +} +function filemanager_upgrade14_1() +{ + return $GLOBALS['setup_info']['filemanager']['currentver'] = '16.1'; +} + /** * Creating colaboration tables *