summaryrefslogtreecommitdiff
path: root/modules/toolbar/toolbar.module
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2009-11-19 03:57:15 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2009-11-19 03:57:15 +0000
commitbf703452de025483a9a8b8721068f28edcf81893 (patch)
tree9a1044831f7432198dcdec50e0f732358b3153a5 /modules/toolbar/toolbar.module
parentfe9f2b9c965e22efec77e9a9b31c8996ff22cfa1 (diff)
downloadbrdo-bf703452de025483a9a8b8721068f28edcf81893.tar.gz
brdo-bf703452de025483a9a8b8721068f28edcf81893.tar.bz2
#620634 by David_Rothstein: Don't build Shortcuts unconditionally for anonymous users.
Diffstat (limited to 'modules/toolbar/toolbar.module')
-rw-r--r--modules/toolbar/toolbar.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/toolbar/toolbar.module b/modules/toolbar/toolbar.module
index bbfa5b96d..b6c473912 100644
--- a/modules/toolbar/toolbar.module
+++ b/modules/toolbar/toolbar.module
@@ -105,7 +105,7 @@ function toolbar_page_build(&$page) {
$page['page_top']['toolbar'] = array(
'#pre_render' => array('toolbar_pre_render'),
'#access' => user_access('access toolbar'),
- 'toolbar_drawer' => isset($page['toolbar_drawer']) ? $page['toolbar_drawer'] : array(),
+ 'toolbar_drawer' => array(),
);
}