]> wagnertech.de Git - mfinanz.git/blobdiff - scripts/rose_auto_create_model.pl
Merge branch 'master' of vc.linet-services.de:public/lx-office-erp
[mfinanz.git] / scripts / rose_auto_create_model.pl
index c99a4b9961f61451b3ec6405956343c164ce2976..12ac0bdafcc443636c9e9ad199472d66f37696c2 100755 (executable)
@@ -31,7 +31,6 @@ my %blacklist     = SL::DB::Helper::Mappings->get_blacklist;
 my %package_names = SL::DB::Helper::Mappings->get_package_names;
 
 our $form;
-our $cgi;
 our $auth;
 our %lx_office_conf;
 
@@ -56,13 +55,13 @@ sub setup {
     usage();
   }
 
-  $::lxdebug    = LXDebug->new();
+  $::lxdebug      = LXDebug->new();
   $::locale       = Locale->new("de");
   $::form         = new Form;
-  $::cgi          = new CGI('');
   $::auth         = SL::Auth->new();
   $::user         = User->new($login);
   %::myconfig     = $auth->read_user($login);
+  $::request      = { cgi => CGI->new({}) };
   $form->{script} = 'rose_meta_data.pl';
   $form->{login}  = $login;