瀏覽代碼

af_zz_imgproxy: remove filter hook, not needed

Andrew Dolgov 7 年之前
父節點
當前提交
a3b5f3817e
共有 1 個文件被更改,包括 0 次插入5 次删除
  1. 0 5
      plugins/af_zz_imgproxy/init.php

+ 0 - 5
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);
 	}