Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjoern Schiessle <bjoern@schiessle.org>2016-10-24 18:03:36 +0300
committerBjoern Schiessle <bjoern@schiessle.org>2016-11-01 21:54:39 +0300
commit318160647a62386b4fda5c04ddca04673bf97813 (patch)
tree4682a016d1e9e10e827e5fcb1d7781b0066c49b0 /lib/public
parent96c40d14a1a253974db8cb2a51f227afe5dff7bf (diff)
add method to check if a share provider for a given type is loaded
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
Diffstat (limited to 'lib/public')
-rw-r--r--lib/public/Share/IManager.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/public/Share/IManager.php b/lib/public/Share/IManager.php
index a74ab5fe796..137dc309280 100644
--- a/lib/public/Share/IManager.php
+++ b/lib/public/Share/IManager.php
@@ -286,4 +286,12 @@ interface IManager {
*/
public function outgoingServer2ServerSharesAllowed();
+ /**
+ * Check if a given share provider exists
+ * @param int $shareType
+ * @return bool
+ * @since 9.2.0
+ */
+ public function shareProviderExists($shareType);
+
}