X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FUser.pm;h=f324e3629694f584e6413150e1d6b7e4224b5164;hb=826d79929635c726f7459296fafa7e630c00e72d;hp=593707c82c0523e9ce9ec4b5f357bf75487feca2;hpb=1b9a64fa292f375c82b4af788d0606354bc4e8ff;p=kivitendo-erp.git diff --git a/SL/User.pm b/SL/User.pm index 593707c82..f324e3629 100644 --- a/SL/User.pm +++ b/SL/User.pm @@ -443,6 +443,8 @@ sub dbupdate2 { my @upgradescripts = $dbupdater->unapplied_upgrade_scripts($dbh); + $::lxdebug->log_time("DB upgrades commencing"); + foreach my $control (@upgradescripts) { # Apply upgrade. Control will only return to us if the upgrade has # been applied correctly and if the update has not requested user @@ -453,6 +455,8 @@ sub dbupdate2 { $dbupdater->process_file($dbh, "sql/Pg-upgrade2/$control->{file}", $control); } + $::lxdebug->log_time("DB upgrades finished"); + $dbh->disconnect; }