summaryrefslogtreecommitdiff
path: root/plugins/af_buttersafe
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2013-05-07 15:36:14 +0400
committerAndrew Dolgov <[email protected]>2013-05-07 15:36:14 +0400
commit82076ce53113be9cc053f8740356e7e1b81e5643 (patch)
tree5eba36805f593ec7dd0aad671b5bcca0ae01cf53 /plugins/af_buttersafe
parent66af65f14b4f3c670bb3f9ca7b1c80081f9281d1 (diff)
parent23923fb29b345c1eea5b70a6df4d30395425bf37 (diff)
Merge branch 'master' into css-feedtree-counter
Conflicts: tt-rss.css
Diffstat (limited to 'plugins/af_buttersafe')
-rw-r--r--plugins/af_buttersafe/init.php7
1 files changed, 5 insertions, 2 deletions
diff --git a/plugins/af_buttersafe/init.php b/plugins/af_buttersafe/init.php
index c9f6505cd..05e684aa0 100644
--- a/plugins/af_buttersafe/init.php
+++ b/plugins/af_buttersafe/init.php
@@ -1,7 +1,6 @@
<?php
class Af_Buttersafe extends Plugin {
- private $link;
private $host;
function about() {
@@ -11,7 +10,6 @@ class Af_Buttersafe extends Plugin {
}
function init($host) {
- $this->link = $host->get_link();
$this->host = $host;
$host->add_hook($host::HOOK_ARTICLE_FILTER, $this);
@@ -55,5 +53,10 @@ class Af_Buttersafe extends Plugin {
return $article;
}
+
+ function api_version() {
+ return 2;
+ }
+
}
?>