]> 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 e00b36aa34994a981fdb3706fc91ffdda37a8dca..b209320458d40d52b8d530a9e2ee9324da4ce8d0 100644 (file)
@@ -1,10 +1,10 @@
 <?php
-class Handler {
-       protected $link;
+class Handler implements IHandler {
+       protected $dbh;
        protected $args;
 
-       function __construct($link, $args) {
-               $this->link = $link;
+       function __construct($args) {
+               $this->dbh = Db::get();
                $this->args = $args;
        }