From c353958cfbce022615a0a428f60e5aec144ea6d5 Mon Sep 17 00:00:00 2001 From: Thomas Bruederli Date: Mon, 4 Nov 2013 19:19:50 +0100 Subject: Move help plugin UI initialization to startup hook --- plugins/help/help.php | 5 +++++ 1 file changed, 5 insertions(+) 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 -- cgit v1.2.3