]> wagnertech.de Git - kivitendo-erp.git/blobdiff - bin/mozilla/common.pl
Lizenzen sind im Config-Abschnitt "features", nicht "system"
[kivitendo-erp.git] / bin / mozilla / common.pl
index 540877299c01d21b14db2c2ec34e33c0a669dee1..cef7fcab88b169215be3150eef9861dd7fbe397c 100644 (file)
@@ -11,6 +11,7 @@
 
 use Carp;
 use SL::Common;
 
 use Carp;
 use SL::Common;
+use SL::DB::Helper::Mappings;
 use SL::DBUtils;
 use SL::Form;
 use SL::MoreCommon;
 use SL::DBUtils;
 use SL::Form;
 use SL::MoreCommon;
@@ -613,13 +614,8 @@ sub gl_transaction {
   $main::lxdebug->leave_sub();
 }
 
   $main::lxdebug->leave_sub();
 }
 
-if ($::use_rdbo) {
-  eval {
-    require SL::DB::Helper::Mappings;
-    sub db {
-      goto &SL::DB::Helper::Mappings::db;
-    }
-  } or die $@;
+sub db {
+  goto &SL::DB::Helper::Mappings::db;
 }
 
 1;
 }
 
 1;