mirror of
https://github.com/nextcloud/server.git
synced 2026-04-15 22:11:17 -04:00
only request free space once for external shares
Signed-off-by: Robin Appelman <robin@icewind.nl>
This commit is contained in:
parent
802e59243b
commit
5e2dd29aaf
2 changed files with 5 additions and 1 deletions
4
apps/files_sharing/lib/External/Storage.php
vendored
4
apps/files_sharing/lib/External/Storage.php
vendored
|
|
@ -429,4 +429,8 @@ class Storage extends DAV implements ISharedStorage, IDisableEncryptionStorage,
|
|||
|
||||
return $permissions;
|
||||
}
|
||||
|
||||
public function free_space($path) {
|
||||
return parent::free_space("");
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -145,7 +145,7 @@ class Propagator implements IPropagator {
|
|||
$this->batch[$internalPath] = [
|
||||
'hash' => md5($internalPath),
|
||||
'time' => $time,
|
||||
'size' => $sizeDifference
|
||||
'size' => $sizeDifference,
|
||||
];
|
||||
} else {
|
||||
$this->batch[$internalPath]['size'] += $sizeDifference;
|
||||
|
|
|
|||
Loading…
Reference in a new issue