From 5cea3fe06618b3bd142d1705732e8b5fc2c8892a Mon Sep 17 00:00:00 2001 From: Benjamin Gaussorgues Date: Mon, 9 Feb 2026 11:58:30 +0100 Subject: [PATCH] chore(quota): hide available space from error Signed-off-by: Benjamin Gaussorgues --- apps/dav/lib/Connector/Sabre/QuotaPlugin.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/dav/lib/Connector/Sabre/QuotaPlugin.php b/apps/dav/lib/Connector/Sabre/QuotaPlugin.php index 0c498275546..71b74c4e507 100644 --- a/apps/dav/lib/Connector/Sabre/QuotaPlugin.php +++ b/apps/dav/lib/Connector/Sabre/QuotaPlugin.php @@ -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); }