From 895b9c23099bd123331760873f30215e106c3a5c Mon Sep 17 00:00:00 2001 From: Morris Jobke Date: Tue, 15 Aug 2017 10:34:27 +0200 Subject: Use proper methods for registerBackend Signed-off-by: Morris Jobke --- lib/public/Share.php | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'lib') 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 @@ -52,19 +52,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 -- cgit v1.2.3