diff options
author | Lukas Reschke <lukas@owncloud.com> | 2015-12-14 10:24:38 +0100 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2016-01-11 11:40:58 +0100 |
commit | 3e8a5f8a532c3fb68b570ddfcb1916abbe5d7bcb (patch) | |
tree | 7d451d82bc0c2b63f429a877152baa8e9f72c5dc /lib/private/files/view.php | |
parent | 300eb54c871cfe48165ee32ecdc5067226aa0b7b (diff) | |
download | nextcloud-server-3e8a5f8a532c3fb68b570ddfcb1916abbe5d7bcb.tar.gz nextcloud-server-3e8a5f8a532c3fb68b570ddfcb1916abbe5d7bcb.zip |
Typo in error message
Diffstat (limited to 'lib/private/files/view.php')
-rw-r--r-- | lib/private/files/view.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/private/files/view.php b/lib/private/files/view.php index 19197950988..240e2a143be 100644 --- a/lib/private/files/view.php +++ b/lib/private/files/view.php @@ -1578,7 +1578,7 @@ class View { public function getOwner($path) { $info = $this->getFileInfo($path); if (!$info) { - throw new NotFoundException($path . 'not found while trying to get owner'); + throw new NotFoundException($path . ' not found while trying to get owner'); } return $info->getOwner()->getUID(); } @@ -2026,7 +2026,7 @@ class View { public function getUidAndFilename($filename) { $info = $this->getFileInfo($filename); if (!$info instanceof \OCP\Files\FileInfo) { - throw new NotFoundException($this->getAbsolutePath($filename) . 'not found'); + throw new NotFoundException($this->getAbsolutePath($filename) . ' not found'); } $uid = $info->getOwner()->getUID(); if ($uid != \OCP\User::getUser()) { @@ -2035,7 +2035,7 @@ class View { try { $filename = $ownerView->getPath($info['fileid']); } catch (NotFoundException $e) { - throw new NotFoundException('File with id ' . $info['fileid'] . 'not found for user ' . $uid); + throw new NotFoundException('File with id ' . $info['fileid'] . ' not found for user ' . $uid); } } return [$uid, $filename]; |