summaryrefslogtreecommitdiffstats
path: root/lib/public
diff options
context:
space:
mode:
Diffstat (limited to 'lib/public')
-rw-r--r--lib/public/Share/IManager.php16
1 files changed, 16 insertions, 0 deletions
diff --git a/lib/public/Share/IManager.php b/lib/public/Share/IManager.php
index f6b74c4de4a..f207ca87a2c 100644
--- a/lib/public/Share/IManager.php
+++ b/lib/public/Share/IManager.php
@@ -455,6 +455,22 @@ interface IManager {
public function allowEnumerationFullMatch(): bool;
/**
+ * Check if the search should match the email
+ *
+ * @return bool
+ * @since 25.0.0
+ */
+ public function matchEmail(): bool;
+
+ /**
+ * Check if the search should ignore the second in parentheses display name if there is any
+ *
+ * @return bool
+ * @since 25.0.0
+ */
+ public function ignoreSecondDisplayName(): bool;
+
+ /**
* Check if the current user can enumerate the target user
*
* @param IUser|null $currentUser