summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/lib/sharedstorage.php
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2015-03-19 15:26:47 +0100
committerRobin Appelman <icewind@owncloud.com>2015-04-13 15:13:03 +0200
commitd4c91dc8356a3514487e2357c1882cdf9eaa2090 (patch)
treeb42e02497650ca09ab0097ac6e865317a0c3ccc2 /apps/files_sharing/lib/sharedstorage.php
parent0772e3b4c11a387dfcd774caf1018d73106cd064 (diff)
downloadnextcloud-server-d4c91dc8356a3514487e2357c1882cdf9eaa2090.tar.gz
nextcloud-server-d4c91dc8356a3514487e2357c1882cdf9eaa2090.zip
add missing return for shared
Diffstat (limited to 'apps/files_sharing/lib/sharedstorage.php')
-rw-r--r--apps/files_sharing/lib/sharedstorage.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_sharing/lib/sharedstorage.php b/apps/files_sharing/lib/sharedstorage.php
index a339637552a..ce8758a6d8c 100644
--- a/apps/files_sharing/lib/sharedstorage.php
+++ b/apps/files_sharing/lib/sharedstorage.php
@@ -597,7 +597,7 @@ class Shared extends \OC\Files\Storage\Common implements ISharedStorage {
public function copyFromStorage(\OCP\Files\Storage $sourceStorage, $sourceInternalPath, $targetInternalPath) {
/** @var \OCP\Files\Storage $targetStorage */
list($targetStorage, $targetInternalPath) = $this->resolvePath($targetInternalPath);
- $targetStorage->copyFromStorage($sourceStorage, $sourceInternalPath, $targetInternalPath);
+ return $targetStorage->copyFromStorage($sourceStorage, $sourceInternalPath, $targetInternalPath);
}
/**
@@ -609,6 +609,6 @@ class Shared extends \OC\Files\Storage\Common implements ISharedStorage {
public function moveFromStorage(\OCP\Files\Storage $sourceStorage, $sourceInternalPath, $targetInternalPath) {
/** @var \OCP\Files\Storage $targetStorage */
list($targetStorage, $targetInternalPath) = $this->resolvePath($targetInternalPath);
- $targetStorage->moveFromStorage($sourceStorage, $sourceInternalPath, $targetInternalPath);
+ return $targetStorage->moveFromStorage($sourceStorage, $sourceInternalPath, $targetInternalPath);
}
}