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