projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c9902d7
)
Umstellung auf SL::DBUpgrade2-API: process_query ist nicht mehr in SL::User
author
Moritz Bunkus
<m.bunkus@linet-services.de>
Mon, 3 Jan 2011 15:21:27 +0000
(16:21 +0100)
committer
Moritz Bunkus
<m.bunkus@linet-services.de>
Mon, 3 Jan 2011 15:21:27 +0000
(16:21 +0100)
SL/Auth.pm
patch
|
blob
|
history
diff --git
a/SL/Auth.pm
b/SL/Auth.pm
index
2bd2d09
..
087301a
100644
(file)
--- a/
SL/Auth.pm
+++ b/
SL/Auth.pm
@@
-13,6
+13,7
@@
use SL::Auth::DB;
use SL::Auth::LDAP;
use SL::User;
+use SL::DBUpgrade2;
use SL::DBUtils;
use strict;
@@
-303,7
+304,7
@@
sub create_tables {
$charset ||= Common::DEFAULT_CHARSET;
$dbh->rollback();
-
User->process_query($main::form,
$dbh, 'sql/auth_db.sql', undef, $charset);
+
SL::DBUpgrade2->new(form => $::form)->process_query(
$dbh, 'sql/auth_db.sql', undef, $charset);
$main::lxdebug->leave_sub();
}