[Pkg-owncloud-commits] [owncloud] 14/69: Better documentation for isValidSource function

David Prévot taffit at moszumanska.debian.org
Sat May 10 16:20:33 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository owncloud.

commit c34659dd892c5099dfa69682b23b846ded675d75
Author: Bart Visscher <bartv at thisnet.nl>
Date:   Thu May 1 18:11:55 2014 +0200

    Better documentation for isValidSource function
---
 lib/public/share.php | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/lib/public/share.php b/lib/public/share.php
index acda709..4c7ee3a 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);
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git



More information about the Pkg-owncloud-commits mailing list