Implement new api_version() check. Bump plugin version to 1.0.
This commit is contained in:
7
init.php
7
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;
|
||||
|
Reference in New Issue
Block a user