mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 16:03:47 +01:00
Do not add edit setting action when we are in sharing view
This commit is contained in:
parent
6572c98bd1
commit
7413b60ecf
@ -456,6 +456,8 @@ if (file_exists(__DIR__.'/../../../filemanager/inc/class.filemanager_ui.inc.php'
|
||||
{
|
||||
$actions = parent::get_actions();
|
||||
$group = 1;
|
||||
// do not add edit setting action when we are in sharing
|
||||
unset($actions['edit']);
|
||||
if(Vfs::is_writable($GLOBALS['egw']->sharing->get_root()))
|
||||
{
|
||||
return $actions;
|
||||
|
Loading…
Reference in New Issue
Block a user