forked from extern/egroupware
suppress WOPI shares from list of shares, as they are not user-created
This commit is contained in:
parent
109ed2387c
commit
96eb731d47
@ -77,6 +77,11 @@ class filemanager_shares extends filemanager_ui
|
|||||||
}
|
}
|
||||||
unset($query['col_filter']['type']);
|
unset($query['col_filter']['type']);
|
||||||
|
|
||||||
|
if (class_exists('EGroupware\\Collabora\\Wopi'))
|
||||||
|
{
|
||||||
|
$query['col_filter'][] = 'share_writable != '.(int)EGroupware\Collabora\Wopi::WOPI_SHARE;
|
||||||
|
}
|
||||||
|
|
||||||
if ((string)$query['col_filter']['share_passwd'] !== '')
|
if ((string)$query['col_filter']['share_passwd'] !== '')
|
||||||
{
|
{
|
||||||
$query['col_filter'][] = $query['col_filter']['share_passwd'] === 'yes' ?
|
$query['col_filter'][] = $query['col_filter']['share_passwd'] === 'yes' ?
|
||||||
|
Loading…
Reference in New Issue
Block a user