summaryrefslogtreecommitdiff
path: root/modules/blog.module
diff options
context:
space:
mode:
authorSteven Wittens <steven@10.no-reply.drupal.org>2005-07-25 17:18:43 +0000
committerSteven Wittens <steven@10.no-reply.drupal.org>2005-07-25 17:18:43 +0000
commit1eb8b2c13adbf1ba9b7f2ede731ab27b68f37aa0 (patch)
treebd784617568f0330a5221579ef8fcdaa0faec9ae /modules/blog.module
parentbd055961cd469d40f238f532888d10ea8e415f29 (diff)
downloadbrdo-1eb8b2c13adbf1ba9b7f2ede731ab27b68f37aa0.tar.gz
brdo-1eb8b2c13adbf1ba9b7f2ede731ab27b68f37aa0.tar.bz2
- #26643: Restore accidentally lost "my blog" menu item.
Diffstat (limited to 'modules/blog.module')
-rw-r--r--modules/blog.module3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/blog.module b/modules/blog.module
index 8e63edd4f..791e9ec84 100644
--- a/modules/blog.module
+++ b/modules/blog.module
@@ -259,6 +259,9 @@ function blog_menu($may_cache) {
'callback' => 'blog_page',
'access' => user_access('access content'),
'type' => MENU_SUGGESTED_ITEM);
+ $items[] = array('path' => 'blog/'. $user->uid, 'title' => t('my blog'),
+ 'access' => user_access('edit own blog'),
+ 'type' => MENU_DYNAMIC_ITEM);
}
return $items;