Merge branch 'master' of lx-office.linet-services.de:lx-office-erp
[kivitendo-erp.git] / bin / mozilla / common.pl
index 6729d16..a6f7ef4 100644 (file)
@@ -14,6 +14,7 @@ use SL::Common;
 use SL::DBUtils;
 use SL::Form;
 use SL::MoreCommon;
+use SL::Helper::Flash;
 
 use strict;
 
@@ -727,4 +728,13 @@ sub gl_transaction {
   $main::lxdebug->leave_sub();
 }
 
+if ($::use_rdbo) {
+  eval {
+    require SL::DB::Helper::Mappings;
+    sub db {
+      goto &SL::DB::Helper::Mappings::db;
+    }
+  } or die $@;
+}
+
 1;