mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 09:09:04 +01:00
* addressbook/importexport: if there are no export csv definitions for a given user, do not show the csv export option in context menu
This commit is contained in:
parent
318f85f651
commit
57be9157d5
@ -636,6 +636,7 @@ class addressbook_ui extends addressbook_bo
|
||||
'disableClass' => 'rowNoEdit',
|
||||
);
|
||||
}
|
||||
if (isset($actions['export']['children']['csv']) && !importexport_helper_functions::has_definitions('addressbook','export')) unset($actions['export']['children']['csv']);
|
||||
|
||||
//echo "<p>".__METHOD__."($do_email, $tid_filter, $org_view)</p>\n"; _debug_array($actions);
|
||||
return $actions;
|
||||
|
Loading…
Reference in New Issue
Block a user