User: single-dbh: vor upgrade nicht mehr disconnecten
authorSven Schöling <s.schoeling@linet-services.de>
Thu, 18 Aug 2016 14:28:55 +0000 (16:28 +0200)
committerSven Schöling <s.schoeling@linet-services.de>
Fri, 2 Sep 2016 12:21:31 +0000 (14:21 +0200)
SL/User.pm

index 6d671c4..615f670 100644 (file)
@@ -127,7 +127,7 @@ sub login {
 
   my $dbupdater        = SL::DBUpgrade2->new(form => $form)->parse_dbupdate_controls;
   my @unapplied_scripts = $dbupdater->unapplied_upgrade_scripts($dbh);
-  $dbh->disconnect;
+  $dbh->disconnect;
 
   if (!@unapplied_scripts) {
     SL::DB::Manager::Employee->update_entries_for_authorized_users;