fix Update from < 14.3 not working since 21.1

because accidentally installed by 14.3.907 already installed egw_addressbook_shared table
This commit is contained in:
ralf 2022-05-12 09:34:01 +02:00
parent d23b7c1a51
commit a3b0161d6d

View File

@ -31,6 +31,8 @@ function api_upgrade14_3_907()
{ {
$GLOBALS['egw_setup']->oProc->CreateTable($table, $definition); $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 // uninstall no longer existing EMailAdmin
@ -836,4 +838,4 @@ function api_upgrade21_1_002()
Vfs\Sqlfs\Utils::quotaRecalc(); Vfs\Sqlfs\Utils::quotaRecalc();
return $GLOBALS['setup_info']['api']['currentver'] = '21.1.003'; return $GLOBALS['setup_info']['api']['currentver'] = '21.1.003';
} }