diff options
author | Morris Jobke <hey@morrisjobke.de> | 2017-08-15 13:52:49 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-15 13:52:49 +0200 |
commit | c5f14ac884b32d749edfcfc89434333930287ae5 (patch) | |
tree | 04f60cc3eeba3a0046f9fa8f2b51a3a641b26f6e /lib/public/Share.php | |
parent | 49b28ebf84abc90c15662a4ff8b31c5ff255bfc7 (diff) | |
parent | 895b9c23099bd123331760873f30215e106c3a5c (diff) | |
download | nextcloud-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.php | 13 |
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 |