From c8cd5c1c444edb0348f6a406ba84c5073eeb5930 Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Mon, 27 Jan 2014 15:16:32 +0000 Subject: [PATCH] Remove "edit categories" item from addressbook->categories context menu --- addressbook/inc/class.addressbook_ui.inc.php | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/addressbook/inc/class.addressbook_ui.inc.php b/addressbook/inc/class.addressbook_ui.inc.php index e065fd1720..d35f586ae7 100644 --- a/addressbook/inc/class.addressbook_ui.inc.php +++ b/addressbook/inc/class.addressbook_ui.inc.php @@ -415,13 +415,7 @@ class addressbook_ui extends addressbook_bo )+array( 'icon' => 'foldertree_nolines_minus', 'disableClass' => 'rowNoEdit', - ), - 'cat_edit' => array( - 'caption' => 'Edit categories', - 'url' => 'menuaction=preferences.preferences_categories_ui.index&cats_app=addressbook&cats_level=True&global_cats=True', - 'icon' => 'edit', - 'group' => $group, - ), + ), ), ); if (!$GLOBALS['egw_info']['user']['apps']['preferences']) unset($actions['cats']['children']['cat_edit']);