From 3e8a5f8a532c3fb68b570ddfcb1916abbe5d7bcb Mon Sep 17 00:00:00 2001 From: Lukas Reschke Date: Mon, 14 Dec 2015 10:24:38 +0100 Subject: Typo in error message --- lib/private/files/view.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib') 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]; -- cgit v1.2.3