mirror of https://github.com/nextcloud/server.git
Fix call to disk_free_space when a file is provided
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.remotes/origin/design-experiment
parent
c07b731689
commit
89881ed511
Loading…
Reference in New Issue