summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorBjoern Schiessle <schiessle@owncloud.com>2014-09-25 11:29:57 +0200
committerBjoern Schiessle <schiessle@owncloud.com>2014-09-25 11:29:57 +0200
commitd5fc011c9059a0362903abc85fa2af43a7dd89f4 (patch)
tree37b72a554da850cc9e8bf6ff5cecfe3b2a978411 /apps
parent5c7fe91041443dacb50f278c60ec5a6007216d61 (diff)
downloadnextcloud-server-d5fc011c9059a0362903abc85fa2af43a7dd89f4.tar.gz
nextcloud-server-d5fc011c9059a0362903abc85fa2af43a7dd89f4.zip
some small fixes
Diffstat (limited to 'apps')
-rw-r--r--apps/files_sharing/lib/sharedmount.php6
-rw-r--r--apps/files_sharing/lib/sharedstorage.php2
2 files changed, 4 insertions, 4 deletions
diff --git a/apps/files_sharing/lib/sharedmount.php b/apps/files_sharing/lib/sharedmount.php
index 9469e0aa48d..1717a4bd636 100644
--- a/apps/files_sharing/lib/sharedmount.php
+++ b/apps/files_sharing/lib/sharedmount.php
@@ -58,7 +58,7 @@ class SharedMount extends Mount implements MoveableMount {
* update fileTarget in the database if the mount point changed
* @param string $newPath
* @param array $share reference to the share which should be modified
- * @return type
+ * @return bool
*/
private static function updateFileTarget($newPath, &$share) {
// if the user renames a mount point from a group share we need to create a new db entry
@@ -152,9 +152,7 @@ class SharedMount extends Mount implements MoveableMount {
*/
public function removeMount() {
$mountManager = \OC\Files\Filesystem::getMountManager();
- /**
- * @var \OC\Files\Storage\Shared
- */
+ /** @var \OC\Files\Storage\Shared */
$storage = $this->getStorage();
$result = $storage->unshareStorage();
$mountManager->removeMount($this->mountPoint);
diff --git a/apps/files_sharing/lib/sharedstorage.php b/apps/files_sharing/lib/sharedstorage.php
index a6799ddd369..a2b485a2ca1 100644
--- a/apps/files_sharing/lib/sharedstorage.php
+++ b/apps/files_sharing/lib/sharedstorage.php
@@ -534,6 +534,8 @@ class Shared extends \OC\Files\Storage\Common implements ISharedStorage {
/**
* unshare complete storage, also the grouped shares
+ *
+ * @return bool
*/
public function unshareStorage() {
$result = true;