diff options
Diffstat (limited to 'plugins/bookmarklets')
-rw-r--r-- | plugins/bookmarklets/init.php | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/plugins/bookmarklets/init.php b/plugins/bookmarklets/init.php index 22f4f05a7..e45605558 100644 --- a/plugins/bookmarklets/init.php +++ b/plugins/bookmarklets/init.php @@ -1,6 +1,5 @@ <?php class Bookmarklets extends Plugin { - private $link; private $host; function about() { @@ -10,7 +9,6 @@ class Bookmarklets extends Plugin { } function init($host) { - $this->link = $host->get_link(); $this->host = $host; $host->add_hook($host::HOOK_PREFS_TAB, $this); @@ -40,8 +38,11 @@ class Bookmarklets extends Plugin { print "</div>"; #pane } - } + function api_version() { + return 2; + } + } ?> |