From: Moritz Bunkus Date: Tue, 3 May 2011 16:01:04 +0000 (+0200) Subject: Rückstände aus Umbenennung von SL/DB/Helpers nach SL/DB/Helper gefixt Teil 2 X-Git-Tag: release-2.6.3~28^2 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=0bb708559a75da94d137fb59516eb65ac23de6a6;p=kivitendo-erp.git Rückstände aus Umbenennung von SL/DB/Helpers nach SL/DB/Helper gefixt Teil 2 --- diff --git a/SL/DB/Helper/ALLAuth.pm b/SL/DB/Helper/ALLAuth.pm new file mode 100644 index 000000000..495720560 --- /dev/null +++ b/SL/DB/Helper/ALLAuth.pm @@ -0,0 +1,36 @@ +package SL::DB::Helper::ALLAuth; + +use strict; + +use SL::DB::AuthGroup; +use SL::DB::AuthGroupRight; +use SL::DB::AuthUserConfig; +use SL::DB::AuthUser; + +1; + +__END__ + +=pod + +=head1 NAME + +SL::DB::Helper::ALLAuth: Dependency-only package for all SL::DB::Auth* modules + +=head1 SYNOPSIS + + use SL::DB::Helper::ALLAuth; + +=head1 DESCRIPTION + +This module depends on all modules in SL/DB/Auth*.pm for the +convenience of being able to write a simple \C and having everything loaded. This is +supposed to be used only in the Lx-Office console. Normal modules +should C only the modules they actually need. + +=head1 AUTHOR + +Moritz Bunkus Em.bunkus@linet-services.deE + +=cut diff --git a/SL/DB/Helper/Mappings.pm b/SL/DB/Helper/Mappings.pm index 7f7c475fd..4fe4ac94f 100644 --- a/SL/DB/Helper/Mappings.pm +++ b/SL/DB/Helper/Mappings.pm @@ -220,23 +220,23 @@ will die with an error. Returns the package name for a table name: - SL::DB::Helpers::Mappings::get_package_for_table('oe') + SL::DB::Helper::Mappings::get_package_for_table('oe') # SL::DB::Order =item C Returns the manager package name for a table name: - SL::DB::Helpers::Mappings::get_manager_package_for_table('oe') + SL::DB::Helper::Mappings::get_manager_package_for_table('oe') # SL::DB::Manager::Order =item C Returns the table name for a package name: - SL::DB::Helpers::Mappings::get_table_for_package('SL::DB::Order') + SL::DB::Helper::Mappings::get_table_for_package('SL::DB::Order') # oe - SL::DB::Helpers::Mappings::get_table_for_package('Order') + SL::DB::Helper::Mappings::get_table_for_package('Order') # oe =back diff --git a/SL/DB/Helpers/ALLAuth.pm b/SL/DB/Helpers/ALLAuth.pm deleted file mode 100644 index b74952ee9..000000000 --- a/SL/DB/Helpers/ALLAuth.pm +++ /dev/null @@ -1,36 +0,0 @@ -package SL::DB::Helpers::ALLAuth; - -use strict; - -use SL::DB::AuthGroup; -use SL::DB::AuthGroupRight; -use SL::DB::AuthUserConfig; -use SL::DB::AuthUser; - -1; - -__END__ - -=pod - -=head1 NAME - -SL::DB::Helpers::ALLAuth: Dependency-only package for all SL::DB::Auth* modules - -=head1 SYNOPSIS - - use SL::DB::Helpers::ALLAuth; - -=head1 DESCRIPTION - -This module depends on all modules in SL/DB/Auth*.pm for the -convenience of being able to write a simple \C and having everything loaded. This is -supposed to be used only in the Lx-Office console. Normal modules -should C only the modules they actually need. - -=head1 AUTHOR - -Moritz Bunkus Em.bunkus@linet-services.deE - -=cut