diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2014-04-15 20:26:04 +0200 |
---|---|---|
committer | Bjoern Schiessle <schiessle@owncloud.com> | 2014-04-23 12:54:26 +0200 |
commit | dd1e47b3b896e2ee59faf5f423bb911c5d2c2548 (patch) | |
tree | 53f729553c289a226ce43c284629de44f5bbe4a2 /apps/files_sharing/lib/sharedstorage.php | |
parent | 2049bedcaf670ef2394ce8b19e0d3f2174513b53 (diff) | |
download | nextcloud-server-dd1e47b3b896e2ee59faf5f423bb911c5d2c2548.tar.gz nextcloud-server-dd1e47b3b896e2ee59faf5f423bb911c5d2c2548.zip |
typos, use, unused and return fixed
Diffstat (limited to 'apps/files_sharing/lib/sharedstorage.php')
-rw-r--r-- | apps/files_sharing/lib/sharedstorage.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/apps/files_sharing/lib/sharedstorage.php b/apps/files_sharing/lib/sharedstorage.php index eedd279bf2b..b8a799f720d 100644 --- a/apps/files_sharing/lib/sharedstorage.php +++ b/apps/files_sharing/lib/sharedstorage.php @@ -299,14 +299,14 @@ class Shared extends \OC\Files\Storage\Common { } /** - * @brief rename a shared foder/file + * @brief rename a shared folder/file * @param string $sourcePath * @param string $targetPath * @return bool */ private function renameMountPoint($sourcePath, $targetPath) { - // it shoulbn't be possible to move a Shared storage into another one + // it shouldn't be possible to move a Shared storage into another one list($targetStorage, ) = \OC\Files\Filesystem::resolvePath($targetPath); if ($targetStorage instanceof \OC\Files\Storage\Shared) { \OCP\Util::writeLog('file sharing', @@ -452,6 +452,7 @@ class Shared extends \OC\Files\Storage\Common { list($storage, $internalPath) = \OC\Files\Filesystem::resolvePath($source); return $storage->free_space($internalPath); } + return \OC\Files\SPACE_UNKNOWN; } public function getLocalFile($path) { |