mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 06:30:59 +01:00
fixed big bug in setup-cli on updating multiple domains: only the update on the first domain run correct, the further domains only get the version-number upgraded, but not the schema. This is fixed now.
This commit is contained in:
parent
90b8c3e5fd
commit
3cd3484c2f
@ -527,11 +527,13 @@
|
||||
$targetver = $appdata['version']; // The version we need to match when done
|
||||
$appdir = EGW_SERVER_ROOT . SEP . $appname . SEP . 'setup' . SEP;
|
||||
|
||||
if(file_exists($appdir . 'tables_update.inc.php') && !@$this->updateincluded[$appname])
|
||||
if(file_exists($appdir . 'tables_update.inc.php'))
|
||||
{
|
||||
include ($appdir . 'tables_update.inc.php');
|
||||
$this->updateincluded[$appname] = True;
|
||||
|
||||
if (!@$this->updateincluded[$appname])
|
||||
{
|
||||
include ($appdir . 'tables_update.inc.php');
|
||||
$this->updateincluded[$appname] = True;
|
||||
}
|
||||
while ($currentver && $currentver != $targetver &&
|
||||
function_exists($function = $appname . '_upgrade' . str_replace('.','_',$currentver)))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user