Merge pull request #41640 from nextcloud/bugfix/noid/fix-memory-limit-setup-check

fix(setupcheck): Fix memory limit setup check
This commit is contained in:
Joas Schilling 2023-11-27 06:39:57 +01:00 committed by GitHub
commit 011390aacb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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)));
}
}
}