SHOW:
|
|
- or go back to the newest paste.
1 | <?php | |
2 | // $Id: hide_login_tabs.module | |
3 | ||
4 | /** | |
5 | * @file | |
6 | * Custom functions for this site. | |
7 | */ | |
8 | ||
9 | function hide_login_tabs_menu_alter(&$items) { | |
10 | $items['user']['type'] = MENU_CALLBACK; | |
11 | $items['user/register']['type'] = MENU_CALLBACK; | |
12 | - | $items['user/password']['type'] = FALSE; |
12 | + | $items['user/password']['type'] = MENU_CALLBACK; |
13 | } |