From a3b0161d6da596777be434bb138aae33cc3938de Mon Sep 17 00:00:00 2001 From: ralf Date: Thu, 12 May 2022 09:34:01 +0200 Subject: [PATCH] fix Update from < 14.3 not working since 21.1 because accidentally installed by 14.3.907 already installed egw_addressbook_shared table --- api/setup/tables_update.inc.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/api/setup/tables_update.inc.php b/api/setup/tables_update.inc.php index 5c9b0408fc..efc576efe2 100644 --- a/api/setup/tables_update.inc.php +++ b/api/setup/tables_update.inc.php @@ -31,6 +31,8 @@ function api_upgrade14_3_907() { $GLOBALS['egw_setup']->oProc->CreateTable($table, $definition); } + // only install tables existing in 16.1 (eg. not egw_addressbook_shared from 21.1) + if ($table === 'egw_ea_notifications') break; } // uninstall no longer existing EMailAdmin @@ -836,4 +838,4 @@ function api_upgrade21_1_002() Vfs\Sqlfs\Utils::quotaRecalc(); return $GLOBALS['setup_info']['api']['currentver'] = '21.1.003'; -} +} \ No newline at end of file