summaryrefslogtreecommitdiff
path: root/plugins/googlereaderkeys/init.php
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/googlereaderkeys/init.php
parent66af65f14b4f3c670bb3f9ca7b1c80081f9281d1 (diff)
parent23923fb29b345c1eea5b70a6df4d30395425bf37 (diff)
Merge branch 'master' into css-feedtree-counter
Conflicts: tt-rss.css
Diffstat (limited to 'plugins/googlereaderkeys/init.php')
-rw-r--r--plugins/googlereaderkeys/init.php7
1 files changed, 4 insertions, 3 deletions
diff --git a/plugins/googlereaderkeys/init.php b/plugins/googlereaderkeys/init.php
index afdc58ec7..c8e7d7a38 100644
--- a/plugins/googlereaderkeys/init.php
+++ b/plugins/googlereaderkeys/init.php
@@ -1,7 +1,5 @@
<?php
class GoogleReaderKeys extends Plugin {
-
- private $link;
private $host;
function about() {
@@ -11,7 +9,6 @@ class GoogleReaderKeys extends Plugin {
}
function init($host) {
- $this->link = $host->get_link();
$this->host = $host;
$host->add_hook($host::HOOK_HOTKEY_MAP, $this);
@@ -31,7 +28,11 @@ class GoogleReaderKeys extends Plugin {
$hotkeys["(40)|down"] = "article_scroll_down";
return $hotkeys;
+ }
+ function api_version() {
+ return 2;
}
+
}
?>