mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 07:53:39 +01:00
Remove "edit categories" item from addressbook->categories context menu
This commit is contained in:
parent
c3435b0359
commit
c8cd5c1c44
@ -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']);
|
||||
|
Loading…
Reference in New Issue
Block a user