Skip to content
Snippets Groups Projects
Unverified Commit 596df8fc authored by Morris Jobke's avatar Morris Jobke
Browse files

Remove unused Share::getItemSharedWithBySource()


Signed-off-by: default avatarMorris Jobke <hey@morrisjobke.de>
parent f7fa292b
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment