From a6a09e015ad130cc2818d6b0ed0158e7209d9f79 Mon Sep 17 00:00:00 2001 From: nakatani-yo Date: Fri, 10 Jul 2026 23:07:28 +0900 Subject: [PATCH] refactor(files_trashbin): use DEFAULTMAXSIZE constant in log message Signed-off-by: nakatani-yo --- apps/files_trashbin/lib/Trashbin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/files_trashbin/lib/Trashbin.php b/apps/files_trashbin/lib/Trashbin.php index bdd7323d4a2a5..9763ef0d5cbc9 100644 --- a/apps/files_trashbin/lib/Trashbin.php +++ b/apps/files_trashbin/lib/Trashbin.php @@ -941,7 +941,7 @@ protected static function deleteFiles(array $files, string $user, int|float $ava if ($availableSpace <= 0 && $expiration->isExpired($file['mtime'], true)) { $tmp = self::delete($file['name'], $user, $file['mtime']); Server::get(LoggerInterface::class)->info( - 'remove "' . $file['name'] . '" (' . $tmp . 'B) to meet the limit of trash bin size (50% of available quota) for user "{user}"', + 'remove "' . $file['name'] . '" (' . $tmp . 'B) to meet the limit of trash bin size (' . self::DEFAULTMAXSIZE . '% of available quota) for user "{user}"', [ 'app' => 'files_trashbin', 'user' => $user,