summaryrefslogtreecommitdiff
path: root/modules/aggregator.module
diff options
context:
space:
mode:
authorKjartan Mannes <kjartan@2.no-reply.drupal.org>2004-05-13 21:21:08 +0000
committerKjartan Mannes <kjartan@2.no-reply.drupal.org>2004-05-13 21:21:08 +0000
commitcd850119966ced40ddc8fd07736c8165d7c8358e (patch)
tree893687d954c25521fdad3ff1a9455975bfeaf253 /modules/aggregator.module
parentb0b1cdb76b10165722936d1359797280f2e87de1 (diff)
downloadbrdo-cd850119966ced40ddc8fd07736c8165d7c8358e.tar.gz
brdo-cd850119966ced40ddc8fd07736c8165d7c8358e.tar.bz2
- Forgot to hide the edit menus.
Diffstat (limited to 'modules/aggregator.module')
-rw-r--r--modules/aggregator.module4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/aggregator.module b/modules/aggregator.module
index 5903e00d1..bd2706190 100644
--- a/modules/aggregator.module
+++ b/modules/aggregator.module
@@ -108,9 +108,9 @@ function aggregator_link($type) {
menu('admin/syndication', t('syndication'), $access ? 'aggregator_help_page' : MENU_DENIED, 5);
menu('admin/syndication/news', t('RSS/RDF'), $access ? 'aggregator_admin_overview' : MENU_DENIED);
menu('admin/syndication/news/add/feed', t('new feed'), $access ? 'aggregator_admin_edit_feed' : MENU_DENIED, 2);
- menu('admin/syndication/news/edit/feed', t('new feed'), $access ? 'aggregator_admin_edit_feed' : MENU_DENIED, 2);
+ menu('admin/syndication/news/edit/feed', t('edit feed'), $access ? 'aggregator_admin_edit_feed' : MENU_DENIED, 2, MENU_HIDE);
menu('admin/syndication/news/add/category', t('new category'), $access ? 'aggregator_admin_edit_category' : MENU_DENIED, 3);
- menu('admin/syndication/news/edit/category', t('new category'), $access ? 'aggregator_admin_edit_category' : MENU_DENIED, 3);
+ menu('admin/syndication/news/edit/category', t('edit category'), $access ? 'aggregator_admin_edit_category' : MENU_DENIED, 3, MENU_HIDE);
menu('admin/syndication/news/remove', t('remove items'), $access ? 'aggregator_admin_remove_feed' : MENU_DENIED, 0, MENU_HIDE, MENU_LOCKED);
menu('admin/syndication/news/update', t('update items'), $access ? 'aggregator_admin_refresh_feed' : MENU_DENIED, 0, MENU_HIDE, MENU_LOCKED);
menu('admin/syndication/news/help', t('help'), $access ? 'aggregator_help_page' : MENU_DENIED, 9);