summaryrefslogtreecommitdiff
path: root/classes/handler.php
diff options
context:
space:
mode:
Diffstat (limited to 'classes/handler.php')
-rw-r--r--classes/handler.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/classes/handler.php b/classes/handler.php
index d8e2a3025..b20932045 100644
--- a/classes/handler.php
+++ b/classes/handler.php
@@ -3,8 +3,8 @@ class Handler implements IHandler {
protected $dbh;
protected $args;
- function __construct($dbh, $args) {
- $this->dbh = $dbh;
+ function __construct($args) {
+ $this->dbh = Db::get();
$this->args = $args;
}