From c353958cfbce022615a0a428f60e5aec144ea6d5 Mon Sep 17 00:00:00 2001
From: Thomas Bruederli <thomas@roundcube.net>
Date: Mon, 04 Nov 2013 13:19:50 -0500
Subject: [PATCH] Move help plugin UI initialization to startup hook

---
 plugins/help/help.php |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/plugins/help/help.php b/plugins/help/help.php
index 37fd908..df08caf 100644
--- a/plugins/help/help.php
+++ b/plugins/help/help.php
@@ -33,6 +33,11 @@
         $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

--
Gitblit v1.9.1