aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2020-11-29 22:24:12 +0100
committerMorris Jobke <hey@morrisjobke.de>2020-11-29 22:24:12 +0100
commit596df8fc6f64eae763217807e7b94d71865e1cec (patch)
tree6a99103fe037eb2fe8b7a01070e380e1c2200ca9 /lib
parentf7fa292beb6ac4004fedbc6a5c5c7e21811594b2 (diff)
downloadnextcloud-server-596df8fc6f64eae763217807e7b94d71865e1cec.tar.gz
nextcloud-server-596df8fc6f64eae763217807e7b94d71865e1cec.zip
Remove unused Share::getItemSharedWithBySource()
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'lib')
-rw-r--r--lib/private/Share/Share.php17
1 files changed, 0 insertions, 17 deletions
diff --git a/lib/private/Share/Share.php b/lib/private/Share/Share.php
index d898254938e..edcbd37be7b 100644
--- a/lib/private/Share/Share.php
+++ b/lib/private/Share/Share.php
@@ -234,23 +234,6 @@ class Share extends Constants {
}
/**
- * Get the item of item type shared with the current user by source
- * @param string $itemType
- * @param string $itemSource
- * @param int $format (optional) Format type must be defined by the backend
- * @param mixed $parameters
- * @param boolean $includeCollections
- * @param string $shareWith (optional) define against which user should be checked, default: current user
- * @return array
- */
- public static function getItemSharedWithBySource($itemType, $itemSource, $format = self::FORMAT_NONE,
- $parameters = null, $includeCollections = false, $shareWith = null) {
- $shareWith = ($shareWith === null) ? \OC_User::getUser() : $shareWith;
- return self::getItems($itemType, $itemSource, self::$shareTypeUserAndGroups, $shareWith, null, $format,
- $parameters, 1, $includeCollections, true);
- }
-
- /**
* Get the shared item of item type owned by the current user
* @param string $itemType
* @param string $itemSource