X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/1e67e523b192b0284630975dccb6ece2a897d9aa..6f70e84036bcb3dcf1eee43e0d46f27529d4d733:/SL/User.pm diff --git a/SL/User.pm b/SL/User.pm index fe2152ece..37e1a9b5f 100644 --- a/SL/User.pm +++ b/SL/User.pm @@ -133,6 +133,11 @@ sub login { return LOGIN_OK(); } + # Store the fact that we're applying database upgrades at the + # moment. That way functions called from the layout modules that may + # require updated tables can chose only to use basic features. + $::request->applying_database_upgrades(1); + $form->{$_} = $::auth->client->{$_} for qw(dbname dbhost dbport dbuser dbpasswd); $form->{$_} = $myconfig{$_} for qw(datestyle);