mirror of
https://github.com/nextcloud/server.git
synced 2026-04-15 22:11:17 -04:00
Merge pull request #57757 from nextcloud/getowner-no-mountpoints
fix: don't include the mountpoints when getting fileinfo for getOwner
This commit is contained in:
commit
6c9418880f
1 changed files with 1 additions and 1 deletions
|
|
@ -1800,7 +1800,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