From a3b5f3817e810257256e74b1116cf8da2e91e1b7 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 14 Feb 2017 19:46:37 +0300 Subject: [PATCH] af_zz_imgproxy: remove filter hook, not needed --- plugins/af_zz_imgproxy/init.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/plugins/af_zz_imgproxy/init.php b/plugins/af_zz_imgproxy/init.php index 53d3bf3e..f326b8e0 100644 --- a/plugins/af_zz_imgproxy/init.php +++ b/plugins/af_zz_imgproxy/init.php @@ -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); } -- 2.39.5