fix(setupcheck): Fix memory limit setup check

Signed-off-by: Joas Schilling <coding@schilljs.com>
pull/41640/head
Joas Schilling 2 years ago
parent 151ff38fc9
commit 4fe363f882
No known key found for this signature in database
GPG Key ID: 74434EFE0D2E2205
  1. 2
      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)));
}
}
}

Loading…
Cancel
Save