]> git.wh0rd.org - tt-rss.git/blobdiff - classes/handler.php
Fix for testing filters getting stuck sometimes.
[tt-rss.git] / classes / handler.php
index 404b8306b8e269d3c544aecd6f361b3e184d376f..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;
        }
 
@@ -12,12 +12,13 @@ class Handler {
                return true;
        }
 
-       function before() {
+       function before($method) {
                return true;
        }
 
        function after() {
                return true;
        }
+
 }
 ?>