diff options
author | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2021-04-13 22:49:42 +0200 |
---|---|---|
committer | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2021-04-20 14:02:35 +0200 |
commit | f8d1ee5cfac5405713cc3fdc194cb98d748ec79f (patch) | |
tree | 7f9dae5802e63f4c073bc7ac6ad758efa7fd197d /lib/public | |
parent | 9d1e2c50823fc2a2a1763e1153c0c18bce8fbddd (diff) | |
download | nextcloud-server-f8d1ee5cfac5405713cc3fdc194cb98d748ec79f.tar.gz nextcloud-server-f8d1ee5cfac5405713cc3fdc194cb98d748ec79f.zip |
ignore mail shares of related remote share results
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'lib/public')
-rw-r--r-- | lib/public/Collaboration/Collaborators/ISearchResult.php | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/public/Collaboration/Collaborators/ISearchResult.php b/lib/public/Collaboration/Collaborators/ISearchResult.php index d0d61ccfb28..a559892bb47 100644 --- a/lib/public/Collaboration/Collaborators/ISearchResult.php +++ b/lib/public/Collaboration/Collaborators/ISearchResult.php @@ -46,6 +46,14 @@ interface ISearchResult { public function hasResult(SearchResultType $type, $collaboratorId); /** + * Removes all result where $collaborationId exactly matches shareWith of + * any of wide and exact result matches of the given type. + * + * @since 22.0.0 + */ + public function removeCollaboratorResult(SearchResultType $type, string $collaboratorId): bool; + + /** * @param SearchResultType $type * @since 13.0.0 */ |