summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerhard Killesreiter <killes_www_drop_org@227.no-reply.drupal.org>2006-04-13 15:10:23 +0000
committerGerhard Killesreiter <killes_www_drop_org@227.no-reply.drupal.org>2006-04-13 15:10:23 +0000
commitb61d9c3e7b27f7a227d7b5e2e5e73a8282cdcefd (patch)
tree86e1bb582f50de80c969fbffdbb9c2acd31685d2
parentfc59697d5d18c08d7fff652fcb5dcd83703fc1ec (diff)
downloadbrdo-b61d9c3e7b27f7a227d7b5e2e5e73a8282cdcefd.tar.gz
brdo-b61d9c3e7b27f7a227d7b5e2e5e73a8282cdcefd.tar.bz2
#58539, removed duplicate menu item, patch by Markus Petrux
-rw-r--r--modules/book.module6
-rw-r--r--modules/book/book.module6
2 files changed, 0 insertions, 12 deletions
diff --git a/modules/book.module b/modules/book.module
index 0f8fc78df..88edc1e1b 100644
--- a/modules/book.module
+++ b/modules/book.module
@@ -79,12 +79,6 @@ function book_menu($may_cache) {
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'),
'access' => user_access('create book pages'));
diff --git a/modules/book/book.module b/modules/book/book.module
index 0f8fc78df..88edc1e1b 100644
--- a/modules/book/book.module
+++ b/modules/book/book.module
@@ -79,12 +79,6 @@ function book_menu($may_cache) {
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'),
'access' => user_access('create book pages'));