]> git.wh0rd.org - tt-rss.git/blobdiff - classes/handler.php
feedbrowser hack
[tt-rss.git] / classes / handler.php
index 68b16eac199f608149ade09ae3e4c51a0ebb5569..5b11094929711f3466107efd70b56cf57b9cf38f 100644 (file)
@@ -1,10 +1,10 @@
 <?php
 class Handler implements IHandler {
-       protected $link;
+       protected $pdo;
        protected $args;
 
-       function __construct($link, $args) {
-               $this->link = $link;
+       function __construct($args) {
+               $this->pdo = Db::pdo();
                $this->args = $args;
        }
 
@@ -20,5 +20,4 @@ class Handler implements IHandler {
                return true;
        }
 
-}
-?>
+}
\ No newline at end of file