1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-20 14:31:29 +00:00

plugins: bump API version

This commit is contained in:
Andrew Dolgov
2013-04-19 17:31:56 +04:00
parent ddf28801e4
commit 106a3de91c
32 changed files with 140 additions and 12 deletions

View File

@@ -11,6 +11,7 @@ class Digest extends Plugin implements IHandler {
}
function init($host) {
$this->link = $host->get_link();
$this->host = $host;
$host->add_handler("digest", "*", $this);
@@ -100,5 +101,9 @@ class Digest extends Plugin implements IHandler {
print json_encode($params);
}
function api_version() {
return 2;
}
}
?>