diff --git a/apps/dav/lib/Connector/Sabre/QuotaPlugin.php b/apps/dav/lib/Connector/Sabre/QuotaPlugin.php index 0c498275546e9..71b74c4e50791 100644 --- a/apps/dav/lib/Connector/Sabre/QuotaPlugin.php +++ b/apps/dav/lib/Connector/Sabre/QuotaPlugin.php @@ -258,8 +258,8 @@ public function checkQuota(string $path, int|float|null $length = null, bool $is 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); }