#58539, removed duplicate menu item, patch by Markus Petrux
parent
fc59697d5d
commit
b61d9c3e7b
|
@ -78,12 +78,6 @@ function book_menu($may_cache) {
|
|||
$items = array();
|
||||
|
||||
if ($may_cache) {
|
||||
$items[] = array(
|
||||
'path' => 'book',
|
||||
'title' => t('books'),
|
||||
'access' => user_access('access content'),
|
||||
'type' => MENU_NORMAL_ITEM,
|
||||
'weight' => 5);
|
||||
$items[] = array(
|
||||
'path' => 'node/add/book',
|
||||
'title' => t('book page'),
|
||||
|
|
|
@ -78,12 +78,6 @@ function book_menu($may_cache) {
|
|||
$items = array();
|
||||
|
||||
if ($may_cache) {
|
||||
$items[] = array(
|
||||
'path' => 'book',
|
||||
'title' => t('books'),
|
||||
'access' => user_access('access content'),
|
||||
'type' => MENU_NORMAL_ITEM,
|
||||
'weight' => 5);
|
||||
$items[] = array(
|
||||
'path' => 'node/add/book',
|
||||
'title' => t('book page'),
|
||||
|
|
Loading…
Reference in New Issue