]> git.wh0rd.org - tt-rss.git/blobdiff - classes/handler.php
strip_harmful_tags: remove data- attributes
[tt-rss.git] / classes / handler.php
index 404b8306b8e269d3c544aecd6f361b3e184d376f..5b11094929711f3466107efd70b56cf57b9cf38f 100644 (file)
@@ -1,10 +1,10 @@
 <?php
-class Handler {
-       protected $link;
+class Handler implements IHandler {
+       protected $pdo;
        protected $args;
 
-       function __construct($link, $args) {
-               $this->link = $link;
+       function __construct($args) {
+               $this->pdo = Db::pdo();
                $this->args = $args;
        }
 
@@ -12,12 +12,12 @@ class Handler {
                return true;
        }
 
-       function before() {
+       function before($method) {
                return true;
        }
 
        function after() {
                return true;
        }
-}
-?>
+
+}
\ No newline at end of file