diff options
author | Michael Gapczynski <GapczynskiM@gmail.com> | 2011-08-22 11:31:47 -0400 |
---|---|---|
committer | Michael Gapczynski <GapczynskiM@gmail.com> | 2011-08-22 11:31:47 -0400 |
commit | 1b64b7395c33447fdfee25ce1d250ca7e2eddb44 (patch) | |
tree | 54abe44c2bd364d1458079d8a28283609e2e0143 /apps/files_sharing | |
parent | d5ba4ec825c0c0c207b40546a3c545ce95e46235 (diff) | |
download | nextcloud-server-1b64b7395c33447fdfee25ce1d250ca7e2eddb44.tar.gz nextcloud-server-1b64b7395c33447fdfee25ce1d250ca7e2eddb44.zip |
Update documentation for unshareFromMySelf()
Diffstat (limited to 'apps/files_sharing')
-rw-r--r-- | apps/files_sharing/lib_share.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/files_sharing/lib_share.php b/apps/files_sharing/lib_share.php index df704c131e7..0c9528141ff 100644 --- a/apps/files_sharing/lib_share.php +++ b/apps/files_sharing/lib_share.php @@ -360,9 +360,10 @@ class OC_Share { /** * Unshare the item from the current user, removes it only from the database and doesn't touch the source file * - * You must use the pullOutOfFolder() function to unshare a file inside a shared folder and set $newTarget to nothing + * You must use the pullOutOfFolder() function before you call unshareFromMySelf() and set the delete parameter to false to unshare from self a file inside a shared folder * * @param $target The target location of the item + * @param $delete (Optional) If true delete the entry from the database, if false the permission is set to UNSHARED */ public static function unshareFromMySelf($target, $delete = true) { $target = self::cleanPath($target); |