aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/Share.php
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2017-08-15 13:52:49 +0200
committerGitHub <noreply@github.com>2017-08-15 13:52:49 +0200
commitc5f14ac884b32d749edfcfc89434333930287ae5 (patch)
tree04f60cc3eeba3a0046f9fa8f2b51a3a641b26f6e /lib/public/Share.php
parent49b28ebf84abc90c15662a4ff8b31c5ff255bfc7 (diff)
parent895b9c23099bd123331760873f30215e106c3a5c (diff)
downloadnextcloud-server-c5f14ac884b32d749edfcfc89434333930287ae5.tar.gz
nextcloud-server-c5f14ac884b32d749edfcfc89434333930287ae5.zip
Merge pull request #6121 from nextcloud/cleanup-registerBackend
Use proper methods for registerBackend
Diffstat (limited to 'lib/public/Share.php')
-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 0937fc6ae9f..78f2bcf586d 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