From 8ba6cb2462054360295168c55292c539a1d8a05f Mon Sep 17 00:00:00 2001 From: Markus Birth Date: Fri, 19 Apr 2013 16:56:20 +0200 Subject: Implement new api_version() check. Bump plugin version to 1.0. --- init.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'init.php') 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; -- cgit v1.3.1