projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Ein System von Hooks, die vor oder nach Actions ausgeführt werden können
[kivitendo-erp.git]
/
SL
/
DB
/
Object.pm
diff --git
a/SL/DB/Object.pm
b/SL/DB/Object.pm
index
f138518
..
52b9300
100644
(file)
--- a/
SL/DB/Object.pm
+++ b/
SL/DB/Object.pm
@@
-25,7
+25,7
@@
sub new {
sub init_db {
my $class_or_self = shift;
my $class = ref($class_or_self) || $class_or_self;
- my $type = 'LXOFFICE';
+ my $type =
$class =~ m/::Auth/ ? 'LXOFFICE_AUTH' :
'LXOFFICE';
return SL::DB::create(undef, $type);
}