diff options
| author | Markus Birth <markus@birth-online.de> | 2013-04-19 16:56:20 +0200 |
|---|---|---|
| committer | Markus Birth <markus@birth-online.de> | 2013-04-19 16:56:20 +0200 |
| commit | 8ba6cb2462054360295168c55292c539a1d8a05f (patch) | |
| tree | 36bdbfb6dba40bf3dc61a888e072d15fbf540ad0 | |
| parent | f507d9fcc37306d7c7904f5fb97f1d995ec0d53e (diff) | |
| download | yafpp-8ba6cb2462054360295168c55292c539a1d8a05f.tar.gz yafpp-8ba6cb2462054360295168c55292c539a1d8a05f.zip | |
Implement new api_version() check. Bump plugin version to 1.0.
| -rw-r--r-- | init.php | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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; |
