summaryrefslogtreecommitdiff
path: root/plugins/help
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/help')
-rw-r--r--plugins/help/help.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/plugins/help/help.php b/plugins/help/help.php
index c02b7e991..94d06542c 100644
--- a/plugins/help/help.php
+++ b/plugins/help/help.php
@@ -14,6 +14,11 @@ class help extends rcube_plugin
{
function init()
{
+ $rcmail = rcmail::get_instance();
+
+ if (!$rcmail->user->ID)
+ return;
+
$this->add_texts('localization/', false);
// register actions
@@ -29,7 +34,7 @@ class help extends rcube_plugin
'href' => './?_task=dummy&_action=plugin.help',
), 'taskbar');
- $skin = rcmail::get_instance()->config->get('skin');
+ $skin = $rcmail->config->get('skin');
if (!file_exists($this->home."/skins/$skin/help.css"))
$skin = 'default';