summaryrefslogtreecommitdiff
path: root/plugins/hotkeys_swap_jk
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2021-11-10 20:58:40 +0300
committerAndrew Dolgov <[email protected]>2021-11-10 20:58:40 +0300
commit87a30d88d36941ad817f0d1409e2ededbe576af6 (patch)
tree0bd599c73c4bb16fab6d58b24332ac5497503e35 /plugins/hotkeys_swap_jk
parent9e8d69739f21e5ac85977d57a2a6c961e318c26e (diff)
plugin cleanup re: phpstan 1.0 warnings
Diffstat (limited to 'plugins/hotkeys_swap_jk')
-rw-r--r--plugins/hotkeys_swap_jk/init.php4
1 files changed, 0 insertions, 4 deletions
diff --git a/plugins/hotkeys_swap_jk/init.php b/plugins/hotkeys_swap_jk/init.php
index ff45a65e4..a365b777f 100644
--- a/plugins/hotkeys_swap_jk/init.php
+++ b/plugins/hotkeys_swap_jk/init.php
@@ -1,8 +1,6 @@
<?php
class Hotkeys_Swap_JK extends Plugin {
- private $host;
-
function about() {
return array(null,
"Swap j and k hotkeys (for vi brethren)",
@@ -10,8 +8,6 @@ class Hotkeys_Swap_JK extends Plugin {
}
function init($host) {
- $this->host = $host;
-
$host->add_hook($host::HOOK_HOTKEY_MAP, $this);
}