]> git.wh0rd.org - tt-rss.git/blobdiff - classes/handler.php
fix missing DB object when instantiated to import opml
[tt-rss.git] / classes / handler.php
index d8e2a3025cfb47d329577391f6791868bbe47b28..b209320458d40d52b8d530a9e2ee9324da4ce8d0 100644 (file)
@@ -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;
        }