From: Joas Schilling Date: Tue, 21 Nov 2023 13:47:21 +0000 (+0100) Subject: fix(setupcheck): Fix memory limit setup check X-Git-Tag: v29.0.0beta1~785^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=4fe363f8820f381c955cd0e3d3fc30dfa3207242;p=nextcloud-server.git fix(setupcheck): Fix memory limit setup check Signed-off-by: Joas Schilling --- diff --git a/apps/settings/lib/SetupChecks/PhpMemoryLimit.php b/apps/settings/lib/SetupChecks/PhpMemoryLimit.php index 37f8cb8d8de..68629c02b21 100644 --- a/apps/settings/lib/SetupChecks/PhpMemoryLimit.php +++ b/apps/settings/lib/SetupChecks/PhpMemoryLimit.php @@ -51,7 +51,7 @@ class PhpMemoryLimit implements ISetupCheck { if ($this->memoryInfo->isMemoryLimitSufficient()) { return SetupResult::success(Util::humanFileSize($this->memoryInfo->getMemoryLimit())); } else { - return SetupResult::error($this->l10n->t('The PHP memory limit is below the recommended value of %s.'), Util::humanFileSize(MemoryInfo::RECOMMENDED_MEMORY_LIMIT)); + return SetupResult::error($this->l10n->t('The PHP memory limit is below the recommended value of %s.', Util::humanFileSize(MemoryInfo::RECOMMENDED_MEMORY_LIMIT))); } } }