mirror of
https://github.com/nextcloud/server.git
synced 2026-04-27 17:18:48 -04:00
chore(quota): hide available space from error
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
This commit is contained in:
parent
cae29df077
commit
5cea3fe066
1 changed files with 2 additions and 2 deletions
|
|
@ -258,8 +258,8 @@ class QuotaPlugin extends \Sabre\DAV\ServerPlugin {
|
|||
|
||||
if ($length > $freeSpace) {
|
||||
$msg = $isDir
|
||||
? "Insufficient space in $normalizedPath. $freeSpace available. Cannot create directory"
|
||||
: "Insufficient space in $normalizedPath, $length required, $freeSpace available";
|
||||
? "Insufficient space in $normalizedPath. Cannot create directory"
|
||||
: "Insufficient space in $normalizedPath";
|
||||
throw new InsufficientStorage($msg);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue