forked from extern/egroupware
Get Sharing to recognize editable Collabora shares for determining class
This commit is contained in:
parent
2ef8b726e0
commit
8d58409211
@ -126,7 +126,7 @@ class Sharing
|
||||
{
|
||||
return $this->share['share_path'];
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Get share with email addresses
|
||||
*/
|
||||
@ -324,6 +324,10 @@ class Sharing
|
||||
return '\\EGroupware\\Stylite\\Link\\Sharing';
|
||||
}
|
||||
}
|
||||
else if (class_exists ('\EGroupware\Collabora\Wopi') && $share['share_writable'] == \EGroupware\Collabora\Wopi::WOPI_SHARED)
|
||||
{
|
||||
return '\\EGroupware\\Collabora\\Wopi';
|
||||
}
|
||||
}
|
||||
catch(Exception $e){throw $e;}
|
||||
return '\\'.__NAMESPACE__ . '\\'. (self::is_entry($share) ? 'Link' : 'Vfs'). '\\Sharing';
|
||||
|
Loading…
Reference in New Issue
Block a user