mirror of
https://github.com/nextcloud/server.git
synced 2026-05-14 01:21:32 -04:00
In the case of shared files, we have to call free_space() on the file name. This has the side-effect that when uploading to a local storage without quota set, it will call disk_free_space with the file name, which fails. This fix uses the parent folder in case the given path is a file. |
||
|---|---|---|
| .. | ||
| cache | ||
| config | ||
| mount | ||
| node | ||
| objectstore | ||
| storage | ||
| stream | ||
| type | ||
| utils | ||
| fileinfo.php | ||
| filesystem.php | ||
| view.php | ||