diff options
Diffstat (limited to 'modules/blog/blog.module')
-rw-r--r-- | modules/blog/blog.module | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/modules/blog/blog.module b/modules/blog/blog.module index 53dbbc716..e43a80435 100644 --- a/modules/blog/blog.module +++ b/modules/blog/blog.module @@ -145,22 +145,16 @@ function blog_menu() { 'type' => MENU_SUGGESTED_ITEM, 'file' => 'blog.pages.inc', ); - $items['blog/%user/view'] = array( - 'title' => 'Blogs', - 'page callback' => 'blog_page_user', - 'access arguments' => array('access content'), - 'type' => MENU_CALLBACK, - 'file' => 'blog.pages.inc', - ); $items['blog/%user_current'] = array( 'title' => 'My blog', + 'page callback' => 'blog_page_user', 'page arguments' => array(1), - 'access arguments' => array('edit own blog'), 'file' => 'blog.pages.inc', ); $items['blog/%user/feed'] = array( 'title' => 'Blogs', 'page callback' => 'blog_feed_user', + 'page arguments' => array(1), 'access arguments' => array('access content'), 'type' => MENU_CALLBACK, 'file' => 'blog.pages.inc', |