From: Andrew Dolgov Date: Wed, 10 Jul 2013 12:45:37 +0000 (+0400) Subject: remove query_headlines example plugin X-Git-Tag: 1.9~59 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=0790ea4643c47284f0bfe589e050ff484f96bba2;p=tt-rss.git remove query_headlines example plugin --- diff --git a/plugins/query_headlines/init.js b/plugins/query_headlines/init.js deleted file mode 100644 index e69de29b..00000000 diff --git a/plugins/query_headlines/init.php b/plugins/query_headlines/init.php deleted file mode 100644 index 5d71d035..00000000 --- a/plugins/query_headlines/init.php +++ /dev/null @@ -1,50 +0,0 @@ -host = $host; - $host->add_hook($host::HOOK_QUERY_HEADLINES, $this); - } - - // passes in the array for an item - // second argument is the length of the preview the caller is using - // create a key called "modified_preview" if you change the preview and don't want - // caller to override with their default - - function hook_query_headlines($line, $preview_length = 100,$api_call=false) { - //make the author field empty - $line["author"] = ""; - - // and toss tags, since I don't use - $line["tag_cache"] = ""; - return $line; - - - } - - - function api_version() { - return 2; - } - -} -?>