diff options
author | Robin Appelman <icewind@owncloud.com> | 2014-05-28 13:47:50 +0200 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2014-06-06 09:56:01 +0200 |
commit | 42a362f2491e5731ce7cc242891c58dd41a76d00 (patch) | |
tree | fe20df3d2312a033821a492ba28acd68f02f7924 /apps | |
parent | 501f98f084d243007ee64ad7a4386964d98f536a (diff) | |
download | nextcloud-server-42a362f2491e5731ce7cc242891c58dd41a76d00.tar.gz nextcloud-server-42a362f2491e5731ce7cc242891c58dd41a76d00.zip |
Fix phpdoc and comments
Diffstat (limited to 'apps')
-rw-r--r-- | apps/files_sharing/lib/sharedmount.php | 4 | ||||
-rw-r--r-- | apps/files_sharing/lib/sharedstorage.php | 1 | ||||
-rw-r--r-- | apps/files_sharing/tests/share.php | 2 |
3 files changed, 4 insertions, 3 deletions
diff --git a/apps/files_sharing/lib/sharedmount.php b/apps/files_sharing/lib/sharedmount.php index 84eb4e78773..79d6991264e 100644 --- a/apps/files_sharing/lib/sharedmount.php +++ b/apps/files_sharing/lib/sharedmount.php @@ -1,6 +1,6 @@ <?php /** - * Copyright (c) 2012 Robin Appelman <icewind@owncloud.com> + * Copyright (c) 2014 Robin Appelman <icewind@owncloud.com> * This file is licensed under the Affero General Public License version 3 or * later. * See the COPYING-README file. @@ -14,7 +14,7 @@ use OC\Files\Mount\MoveableMount; use OC\Files\Storage\Shared; /** - * Person mount points can be moved by the user + * Shared mount points can be moved by the user */ class SharedMount extends Mount implements MoveableMount { /** diff --git a/apps/files_sharing/lib/sharedstorage.php b/apps/files_sharing/lib/sharedstorage.php index c98cde0a8e9..ea0e420a5c4 100644 --- a/apps/files_sharing/lib/sharedstorage.php +++ b/apps/files_sharing/lib/sharedstorage.php @@ -293,6 +293,7 @@ class Shared extends \OC\Files\Storage\Common { $relPath1 = $this->getMountPoint() . '/' . $path1; $relPath2 = $this->getMountPoint() . '/' . $path2; + // check for update permissions on the share if ($this->isUpdatable('')) { $pathinfo = pathinfo($relPath1); diff --git a/apps/files_sharing/tests/share.php b/apps/files_sharing/tests/share.php index a81f84ef061..195fac461be 100644 --- a/apps/files_sharing/tests/share.php +++ b/apps/files_sharing/tests/share.php @@ -3,7 +3,7 @@ * ownCloud * * @author Bjoern Schiessle - * @copyright 2013 Bjoern Schiessle <schiessle@owncloud.com> + * @copyright 2014 Bjoern Schiessle <schiessle@owncloud.com> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE |