summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-05-14 23:41:49 +0000
committerBharat Mediratta <bharat@menalto.com>2009-05-14 23:41:49 +0000
commit7f77c676fe060fa4c9136800e8f170747a67b0ad (patch)
tree1e426d616ad5b1794ce8b1bcc980450abed67653
parentb698b8202f8a637f466ee07808796f29ac96bdfc (diff)
Get rid of the 'View comments on this item' menu option for photos.
It doesn't fit in with the others and as Jakob points out, the scroll wheel on the mouse is perfectly sufficient. I'll leave the icon around, though.
-rw-r--r--modules/comment/helpers/comment_menu.php9
1 files changed, 0 insertions, 9 deletions
diff --git a/modules/comment/helpers/comment_menu.php b/modules/comment/helpers/comment_menu.php
index 01881921..9a36eefa 100644
--- a/modules/comment/helpers/comment_menu.php
+++ b/modules/comment/helpers/comment_menu.php
@@ -25,13 +25,4 @@ class comment_menu_Core {
->label(t("Comments"))
->url(url::site("admin/comments")));
}
-
- static function photo($menu, $theme) {
- $menu
- ->append(Menu::factory("link")
- ->id("comments")
- ->label(t("View comments on this item"))
- ->url("#comments")
- ->css_id("gCommentsLink"));
- }
}