fix(settings): Add some context to the PHP memory limit error

Signed-off-by: Josh <josh.t.richards@gmail.com>
pull/48672/head
Josh 2 years ago committed by Andy Scherzinger
parent 8981f32358
commit 8a7b1617d0
  1. 2
      apps/settings/lib/SetupChecks/PhpMemoryLimit.php

@ -34,7 +34,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. Some features or apps - including the Updater - may not function properly.', Util::humanFileSize(MemoryInfo::RECOMMENDED_MEMORY_LIMIT)));
}
}
}

Loading…
Cancel
Save