diff options
Diffstat (limited to 'modules/blog/blog.module')
-rw-r--r-- | modules/blog/blog.module | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/modules/blog/blog.module b/modules/blog/blog.module index 43118fa40..39dfe52b3 100644 --- a/modules/blog/blog.module +++ b/modules/blog/blog.module @@ -254,10 +254,7 @@ function blog_link($type, $node = 0, $main) { } if ($type == 'node' && $node->type == 'blog') { - if (blog_access('update', $node)) { - $links[] = l(t('edit this blog entry'), "node/$node->nid/edit", array('title' => t('Edit this blog entry.'))); - } - elseif (arg(0) != 'blog' && arg(1) != $node->uid) { + if (arg(0) != 'blog' && arg(1) != $node->uid) { $links[] = l(t("%username's blog", array('%username' => $node->name)), "blog/$node->uid", array('title' => t("Read %username's latest blog entries.", array('%username' => $node->name)))); } } |