aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--apps/settings/lib/SetupChecks/PhpOpcacheSetup.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/settings/lib/SetupChecks/PhpOpcacheSetup.php b/apps/settings/lib/SetupChecks/PhpOpcacheSetup.php
index f50ec80a3de..4077203bb8e 100644
--- a/apps/settings/lib/SetupChecks/PhpOpcacheSetup.php
+++ b/apps/settings/lib/SetupChecks/PhpOpcacheSetup.php
@@ -132,7 +132,7 @@ class PhpOpcacheSetup implements ISetupCheck {
public function run(): SetupResult {
// Skip OPcache checks if running from CLI
- if (OC::$CLI && !$this->iniGetWrapper->getBool('opcache.enable_cli')) {
+ if (\OC::$CLI && !$this->iniGetWrapper->getBool('opcache.enable_cli')) {
return SetupResult::success($this->l10n->t('Checking from CLI, OPcache checks have been skipped.'));
}