summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2021-11-10 21:06:26 +0300
committerAndrew Dolgov <[email protected]>2021-11-10 21:06:26 +0300
commit9d1360e1db2b4a52b17b144a6f30dc22cbdc1419 (patch)
tree72ee615df7002947cd88d606e3899266321f5fb1
parent5d15fcc8d09ddbea71ed9142918807079f796268 (diff)
phpstan 1.0 cleanup
-rwxr-xr-xinit.php13
1 files changed, 0 insertions, 13 deletions
diff --git a/init.php b/init.php
index bdf5df1..400e7c6 100755
--- a/init.php
+++ b/init.php
@@ -1,6 +1,5 @@
<?php
class Time_to_Read extends Plugin {
- private $host;
function about() {
return array(1.0,
@@ -9,9 +8,7 @@ class Time_to_Read extends Plugin {
}
function init($host) {
- $this->host = $host;
- //$host->add_hook($host::HOOK_PREFS_TAB, $this);
}
function get_js() {
@@ -25,14 +22,4 @@ class Time_to_Read extends Plugin {
function api_version() {
return 2;
}
-
- function hook_prefs_tab($args) {
- if ($args != "prefPrefs") return;
-
- print "<div dojoType='dijit.layout.AccordionPane'
- title=\"<i class='material-icons'>photo</i> ".$this->__('Test-Test')."\">";
-
- print "</div>";
-
- }
}