Remove "edit categories" item from addressbook->categories context menu

This commit is contained in:
Hadi Nategh 2014-01-27 15:16:32 +00:00
parent c3435b0359
commit c8cd5c1c44

View File

@ -416,12 +416,6 @@ class addressbook_ui extends addressbook_bo
'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']);