]> wagnertech.de Git - mfinanz.git/blobdiff - SL/Auth.pm
Globale Variablen für Systemeinstellungen und Features nach %::lx_office_conf verschoben
[mfinanz.git] / SL / Auth.pm
index 087301a5eaabede0c0f0b5003111e2118808321b..f2d15a8c71d4bd5cf59920fdcd2e4aeb31f424f2 100644 (file)
@@ -257,7 +257,7 @@ sub create_database {
 
   $main::lxdebug->message(LXDebug->DEBUG1(), "Auth::create_database DSN: $dsn");
 
-  my $charset    = $main::dbcharset;
+  my $charset    = $::lx_office_conf{system}->{dbcharset};
   $charset     ||= Common::DEFAULT_CHARSET;
   my $encoding   = $Common::charset_to_db_encoding{$charset};
   $encoding    ||= 'UNICODE';
@@ -300,7 +300,7 @@ sub create_tables {
   my $self = shift;
   my $dbh  = $self->dbconnect();
 
-  my $charset    = $main::dbcharset;
+  my $charset    = $::lx_office_conf{system}->{dbcharset};
   $charset     ||= Common::DEFAULT_CHARSET;
 
   $dbh->rollback();