Merge pull request #58994 from nextcloud/backport/58979/stable33

This commit is contained in:
Benjamin Gaussorgues 2026-03-17 14:45:48 +01:00 committed by GitHub
commit 53835fa4a9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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);
}