mirror of
https://github.com/nextcloud/server.git
synced 2026-04-27 09:08:22 -04:00
fix: don't include the mountpoints when getting fileinfo for getOwner
Signed-off-by: Robin Appelman <robin@icewind.nl>
This commit is contained in:
parent
9def7a8ba7
commit
c801d63e5a
1 changed files with 1 additions and 1 deletions
|
|
@ -1791,7 +1791,7 @@ class View {
|
|||
* @throws NotFoundException
|
||||
*/
|
||||
public function getOwner(string $path): string {
|
||||
$info = $this->getFileInfo($path);
|
||||
$info = $this->getFileInfo($path, false);
|
||||
if (!$info) {
|
||||
throw new NotFoundException($path . ' not found while trying to get owner');
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue