]> git.wh0rd.org - tt-rss.git/commitdiff
af_zz_imgproxy: remove filter hook, not needed
authorAndrew Dolgov <noreply@fakecake.org>
Tue, 14 Feb 2017 16:46:37 +0000 (19:46 +0300)
committerAndrew Dolgov <noreply@fakecake.org>
Tue, 14 Feb 2017 16:46:37 +0000 (19:46 +0300)
plugins/af_zz_imgproxy/init.php

index 53d3bf3ed08a30f347cc445ec42a4dcc740ae165..f326b8e07627c88500577c5050449e71a3ce5394 100644 (file)
@@ -18,7 +18,6 @@ class Af_Zz_ImgProxy extends Plugin {
                $host->add_hook($host::HOOK_RENDER_ARTICLE, $this);
                $host->add_hook($host::HOOK_RENDER_ARTICLE_CDM, $this);
                $host->add_hook($host::HOOK_ENCLOSURE_ENTRY, $this);
-               //$host->add_hook($host::HOOK_ARTICLE_FILTER, $this);
 
                $host->add_hook($host::HOOK_PREFS_TAB, $this);
        }
@@ -33,10 +32,6 @@ class Af_Zz_ImgProxy extends Plugin {
                return $enc;
        }
 
-       function hook_article_filter($article) {
-               return $this->hook_render_article_cdm($article);
-       }
-
        function hook_render_article($article) {
                return $this->hook_render_article_cdm($article);
        }