summaryrefslogtreecommitdiff
path: root/lib/TUWF/DB.pm
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2011-01-19 20:03:27 +0100
committerYorhel <git@yorhel.nl>2011-01-19 20:03:27 +0100
commitfe9092786301e98e1639af870ec48f1e9f95aec3 (patch)
tree15f7e9bbb5dbbdad2d0e48156c58cdc63d1b06d5 /lib/TUWF/DB.pm
parent4fd3f799f50b251217037dda8e0a978348c1235f (diff)
TUWF::DB: Added dbh() method
Diffstat (limited to 'lib/TUWF/DB.pm')
-rw-r--r--lib/TUWF/DB.pm5
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};