aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2017-08-15 10:34:27 +0200
committerMorris Jobke <hey@morrisjobke.de>2017-08-15 11:29:15 +0200
commit895b9c23099bd123331760873f30215e106c3a5c (patch)
treec32e93582bfbad07ebd6c5a3242f4554a197c447 /lib
parentc5c23b30b9f510ce211d9fa3187dc3c8cff4116e (diff)
downloadnextcloud-server-895b9c23099bd123331760873f30215e106c3a5c.tar.gz
nextcloud-server-895b9c23099bd123331760873f30215e106c3a5c.zip
Use proper methods for registerBackend
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'lib')
-rw-r--r--lib/public/Share.php13
1 files changed, 0 insertions, 13 deletions
diff --git a/lib/public/Share.php b/lib/public/Share.php
index bc07ce4b78c..c6dd72ba1d2 100644
--- a/lib/public/Share.php
+++ b/lib/public/Share.php
@@ -53,19 +53,6 @@ namespace OCP;
class Share extends \OC\Share\Constants {
/**
- * Register a sharing backend class that implements OCP\Share_Backend for an item type
- * @param string $itemType Item type
- * @param string $class Backend class
- * @param string $collectionOf (optional) Depends on item type
- * @param array $supportedFileExtensions (optional) List of supported file extensions if this item type depends on files
- * @return boolean true if backend is registered or false if error
- * @since 5.0.0
- */
- public static function registerBackend($itemType, $class, $collectionOf = null, $supportedFileExtensions = null) {
- return \OC\Share\Share::registerBackend($itemType, $class, $collectionOf, $supportedFileExtensions);
- }
-
- /**
* Get the items of item type shared with the current user
* @param string $itemType
* @param int $format (optional) Format type must be defined by the backend