summaryrefslogtreecommitdiff
path: root/classes/handler.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2013-04-18 23:19:14 +0400
committerAndrew Dolgov <[email protected]>2013-04-18 23:19:14 +0400
commit1f294435307ef6cbbf3f35a22af9bf92131338ed (patch)
tree22a1004e262cfe9f0694d71a3418db4fb9a78d21 /classes/handler.php
parent7f1113a56ad8e66ce3dd9886b4b11dfc30573c7f (diff)
fix missing DB object when instantiated to import opml
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;
}