diff options
Diffstat (limited to 'modules/blog/blog.pages.inc')
-rw-r--r-- | modules/blog/blog.pages.inc | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/modules/blog/blog.pages.inc b/modules/blog/blog.pages.inc index 35556008e..587fbbf29 100644 --- a/modules/blog/blog.pages.inc +++ b/modules/blog/blog.pages.inc @@ -14,20 +14,7 @@ function blog_page_user($account) { drupal_set_title($title = t("@name's blog", array('@name' => format_username($account))), PASS_THROUGH); - $items = array(); - - if (($account->uid == $user->uid) && user_access('create blog content')) { - $items[] = l(t('Post new blog entry.'), "node/add/blog"); - } - elseif ($account->uid == $user->uid) { - $items[] = t('You are not allowed to post a new blog entry.'); - } - - $build['blog_actions'] = array( - '#items' => $items, - '#theme' => 'item_list', - '#weight' => -1, - ); + $build = array(); $query = db_select('node', 'n')->extend('PagerDefault'); $nids = $query |