mirror of
https://github.com/nextcloud/server.git
synced 2026-02-03 20:41:22 -05: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
3f9849d921
commit
a85936259d
1 changed files with 1 additions and 1 deletions
|
|
@ -1787,7 +1787,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