diff options
author | Yorhel <git@yorhel.nl> | 2011-01-19 20:03:27 +0100 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2011-01-19 20:03:27 +0100 |
commit | fe9092786301e98e1639af870ec48f1e9f95aec3 (patch) | |
tree | 15f7e9bbb5dbbdad2d0e48156c58cdc63d1b06d5 /lib/TUWF/DB.pm | |
parent | 4fd3f799f50b251217037dda8e0a978348c1235f (diff) |
TUWF::DB: Added dbh() method
Diffstat (limited to 'lib/TUWF/DB.pm')
-rw-r--r-- | lib/TUWF/DB.pm | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/TUWF/DB.pm b/lib/TUWF/DB.pm index 153efad..c35214b 100644 --- a/lib/TUWF/DB.pm +++ b/lib/TUWF/DB.pm @@ -26,6 +26,11 @@ sub dbInit { } +sub dbh { + return shift->{_TUWF}{DB}{sql}; +} + + sub dbCheck { my $self = shift; my $info = $self->{_TUWF}{DB}; |