Remove unused Share::getItemSharedWithBySource()
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
This commit is contained in:
parent
f7fa292beb
commit
596df8fc6f
|
@ -233,23 +233,6 @@ class Share extends Constants {
|
|||
return $shares;
|
||||
}
|
||||
|
||||
/**
|
||||
* 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
|
||||
|
|
Loading…
Reference in New Issue