From 0790ea4643c47284f0bfe589e050ff484f96bba2 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 10 Jul 2013 16:45:37 +0400 Subject: remove query_headlines example plugin --- plugins/query_headlines/init.js | 0 plugins/query_headlines/init.php | 50 ---------------------------------------- 2 files changed, 50 deletions(-) delete mode 100644 plugins/query_headlines/init.js delete mode 100644 plugins/query_headlines/init.php (limited to 'plugins') diff --git a/plugins/query_headlines/init.js b/plugins/query_headlines/init.js deleted file mode 100644 index e69de29bb..000000000 diff --git a/plugins/query_headlines/init.php b/plugins/query_headlines/init.php deleted file mode 100644 index 5d71d0356..000000000 --- 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; - } - -} -?> -- cgit v1.2.3