summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Birth <markus@birth-online.de>2013-04-19 16:56:20 +0200
committerMarkus Birth <markus@birth-online.de>2013-04-19 16:56:20 +0200
commit8ba6cb2462054360295168c55292c539a1d8a05f (patch)
tree36bdbfb6dba40bf3dc61a888e072d15fbf540ad0
parentf507d9fcc37306d7c7904f5fb97f1d995ec0d53e (diff)
downloadyafpp-8ba6cb2462054360295168c55292c539a1d8a05f.tar.gz
yafpp-8ba6cb2462054360295168c55292c539a1d8a05f.zip
Implement new api_version() check. Bump plugin version to 1.0.
-rw-r--r--init.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/init.php b/init.php
index 614d28e..61aebbc 100644
--- a/init.php
+++ b/init.php
@@ -7,13 +7,18 @@ class Af_Feedmod extends Plugin implements IHandler
function about()
{
return array(
- 0.9, // version
+ 1.0, // version
'Replace feed contents by contents from the linked page', // description
'mbirth', // author
false, // is_system
);
}
+ function api_version()
+ {
+ return 2;
+ }
+
function init($host)
{
$this->host = $host;