X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=bin%2Fmozilla%2Fcommon.pl;h=8398fb7b8833013b959f32b1ead973e0951f640f;hb=299b2a4ba2329c33390c5244ed9d235459e341bb;hp=143551f743863d3c3efbebe62f1d2ec8b20369f7;hpb=39294de3fcf40d987865ff17ddab1de070c29f63;p=kivitendo-erp.git diff --git a/bin/mozilla/common.pl b/bin/mozilla/common.pl index 143551f74..8398fb7b8 100644 --- a/bin/mozilla/common.pl +++ b/bin/mozilla/common.pl @@ -11,6 +11,7 @@ use Carp; use SL::Common; +use SL::DB::Helper::Mappings; use SL::DBUtils; use SL::Form; use SL::MoreCommon; @@ -728,13 +729,8 @@ sub gl_transaction { $main::lxdebug->leave_sub(); } -if ($::use_rdbo) { - eval { - require SL::DB::Helpers::Mappings; - sub db { - goto &SL::DB::Helpers::Mappings::db; - } - } or die $@; +sub db { + goto &SL::DB::Helper::Mappings::db; } 1;