summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2014-05-01 18:11:55 +0200
committerBart Visscher <bartv@thisnet.nl>2014-05-01 18:11:55 +0200
commitc34659dd892c5099dfa69682b23b846ded675d75 (patch)
treed73f6a060525cd94f301dfd121197897da2cd2da /lib
parent50f49c57b5d51951dae87c0a9d57ad2b5dbefef7 (diff)
downloadnextcloud-server-c34659dd892c5099dfa69682b23b846ded675d75.tar.gz
nextcloud-server-c34659dd892c5099dfa69682b23b846ded675d75.zip
Better documentation for isValidSource function
Diffstat (limited to 'lib')
-rw-r--r--lib/public/share.php5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/public/share.php b/lib/public/share.php
index acda709b552..4c7ee3a190e 100644
--- a/lib/public/share.php
+++ b/lib/public/share.php
@@ -341,15 +341,12 @@ class Share extends \OC\Share\Constants {
interface Share_Backend {
/**
- * Get the source of the item to be stored in the database
+ * Check if this $itemSource exist for the user
* @param string $itemSource
* @param string $uidOwner Owner of the item
* @return boolean|null Source
*
- * Return an array if the item is file dependent, the array needs two keys: 'item' and 'file'
* Return false if the item does not exist for the user
- *
- * The formatItems() function will translate the source returned back into the item
*/
public function isValidSource($itemSource, $uidOwner);