af_zz_imgproxy: remove filter hook, not needed

This commit is contained in:
Andrew Dolgov 2017-02-14 19:46:37 +03:00
parent c8919d630e
commit a3b5f3817e
1 changed files with 0 additions and 5 deletions

View 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, $this);
$host->add_hook($host::HOOK_RENDER_ARTICLE_CDM, $this); $host->add_hook($host::HOOK_RENDER_ARTICLE_CDM, $this);
$host->add_hook($host::HOOK_ENCLOSURE_ENTRY, $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); $host->add_hook($host::HOOK_PREFS_TAB, $this);
} }
@ -33,10 +32,6 @@ class Af_Zz_ImgProxy extends Plugin {
return $enc; return $enc;
} }
function hook_article_filter($article) {
return $this->hook_render_article_cdm($article);
}
function hook_render_article($article) { function hook_render_article($article) {
return $this->hook_render_article_cdm($article); return $this->hook_render_article_cdm($article);
} }