summaryrefslogtreecommitdiff
path: root/plugins/help/help.php
diff options
context:
space:
mode:
authorThomas Bruederli <thomas@roundcube.net>2013-11-04 19:19:50 +0100
committerThomas Bruederli <thomas@roundcube.net>2013-11-04 19:19:50 +0100
commitc353958cfbce022615a0a428f60e5aec144ea6d5 (patch)
tree120af52a295fadf09b2aca70033c6d130a5f763a /plugins/help/help.php
parentd4f27d90d57b62a833e643fa9e823d4a8aaa1dcf (diff)
Move help plugin UI initialization to startup hook
Diffstat (limited to 'plugins/help/help.php')
-rw-r--r--plugins/help/help.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/plugins/help/help.php b/plugins/help/help.php
index 37fd908a3..df08caf71 100644
--- a/plugins/help/help.php
+++ b/plugins/help/help.php
@@ -33,6 +33,11 @@ class help extends rcube_plugin
$this->register_action('about', array($this, 'action'));
$this->register_action('license', array($this, 'action'));
+ $this->add_hook('startup', array($this, 'startup'));
+ }
+
+ function startup($args)
+ {
$rcmail = rcmail::get_instance();
// add taskbar button