]> git.wh0rd.org - tt-rss.git/blobdiff - classes/handler.php
pngcrush.sh
[tt-rss.git] / classes / handler.php
index d8e2a3025cfb47d329577391f6791868bbe47b28..5b11094929711f3466107efd70b56cf57b9cf38f 100644 (file)
@@ -1,10 +1,10 @@
 <?php
 class Handler implements IHandler {
-       protected $dbh;
+       protected $pdo;
        protected $args;
 
-       function __construct($dbh, $args) {
-               $this->dbh = $dbh;
+       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