From: Robin Appelman Date: Thu, 19 Mar 2015 14:26:47 +0000 (+0100) Subject: add missing return for shared X-Git-Tag: v8.1.0alpha1~15^2~2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=d4c91dc8356a3514487e2357c1882cdf9eaa2090;p=nextcloud-server.git add missing return for shared --- 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); } }