diff options
Diffstat (limited to 'modules/user/user.module')
-rw-r--r-- | modules/user/user.module | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/modules/user/user.module b/modules/user/user.module index 8154c02c0..8f65d082b 100644 --- a/modules/user/user.module +++ b/modules/user/user.module @@ -652,21 +652,21 @@ function user_block($op = 'list', $delta = 0, $edit = array()) { global $user; if ($op == 'list') { - $blocks[0]['info'] = t('User login'); - // Not worth caching. - $blocks[0]['cache'] = BLOCK_NO_CACHE; + $blocks[0]['info'] = t('User login'); + // Not worth caching. + $blocks[0]['cache'] = BLOCK_NO_CACHE; - $blocks[1]['info'] = t('Navigation'); - // Menu blocks can't be cached because each menu item can have - // a custom access callback. menu.inc manages its own caching. - $blocks[1]['cache'] = BLOCK_NO_CACHE; + $blocks[1]['info'] = t('Navigation'); + // Menu blocks can't be cached because each menu item can have + // a custom access callback. menu.inc manages its own caching. + $blocks[1]['cache'] = BLOCK_NO_CACHE; - $blocks[2]['info'] = t('Who\'s new'); + $blocks[2]['info'] = t('Who\'s new'); - // Too dynamic to cache. - $blocks[3]['info'] = t('Who\'s online'); - $blocks[3]['cache'] = BLOCK_NO_CACHE; - return $blocks; + // Too dynamic to cache. + $blocks[3]['info'] = t('Who\'s online'); + $blocks[3]['cache'] = BLOCK_NO_CACHE; + return $blocks; } else if ($op == 'configure' && $delta == 2) { $form['user_block_whois_new_count'] = array( @@ -706,8 +706,8 @@ function user_block($op = 'list', $delta = 0, $edit = array()) { case 1: if ($menu = menu_tree()) { - $block['subject'] = $user->uid ? check_plain($user->name) : t('Navigation'); - $block['content'] = $menu; + $block['subject'] = $user->uid ? check_plain($user->name) : t('Navigation'); + $block['content'] = $menu; } return $block; |