mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-03 04:29:28 +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
|
$targetver = $appdata['version']; // The version we need to match when done
|
||||||
$appdir = EGW_SERVER_ROOT . SEP . $appname . SEP . 'setup' . SEP;
|
$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');
|
if (!@$this->updateincluded[$appname])
|
||||||
$this->updateincluded[$appname] = True;
|
{
|
||||||
|
include ($appdir . 'tables_update.inc.php');
|
||||||
|
$this->updateincluded[$appname] = True;
|
||||||
|
}
|
||||||
while ($currentver && $currentver != $targetver &&
|
while ($currentver && $currentver != $targetver &&
|
||||||
function_exists($function = $appname . '_upgrade' . str_replace('.','_',$currentver)))
|
function_exists($function = $appname . '_upgrade' . str_replace('.','_',$currentver)))
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user