From 1eb8b2c13adbf1ba9b7f2ede731ab27b68f37aa0 Mon Sep 17 00:00:00 2001
From: Steven Wittens <steven@10.no-reply.drupal.org>
Date: Mon, 25 Jul 2005 17:18:43 +0000
Subject: [PATCH] - #26643: Restore accidentally lost "my blog" menu item.

---
 modules/blog.module      | 3 +++
 modules/blog/blog.module | 3 +++
 2 files changed, 6 insertions(+)

diff --git a/modules/blog.module b/modules/blog.module
index 8e63edd4fd02..791e9ec84f47 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;
diff --git a/modules/blog/blog.module b/modules/blog/blog.module
index 8e63edd4fd02..791e9ec84f47 100644
--- a/modules/blog/blog.module
+++ b/modules/blog/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;
-- 
GitLab