]> source.dussan.org Git - nextcloud-server.git/commitdiff
Better documentation for isValidSource function
authorBart Visscher <bartv@thisnet.nl>
Thu, 1 May 2014 16:11:55 +0000 (18:11 +0200)
committerBart Visscher <bartv@thisnet.nl>
Thu, 1 May 2014 16:11:55 +0000 (18:11 +0200)
lib/public/share.php

index acda709b552f199f383e82059307fdce0156c774..4c7ee3a190e11149a632b7ca1461187596437717 100644 (file)
@@ -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);