mirror of
https://github.com/nextcloud/server.git
synced 2026-04-21 14:23:17 -04:00
Avoid error messages for restricted opcache API
This commit is contained in:
parent
847bd0cf74
commit
e7c35d720d
1 changed files with 2 additions and 2 deletions
|
|
@ -1374,7 +1374,7 @@ class OC_Util {
|
|||
}
|
||||
// Zend OpCache >= 7.0.0, PHP >= 5.5.0
|
||||
if (function_exists('opcache_invalidate')) {
|
||||
$ret = opcache_invalidate($path);
|
||||
$ret = @opcache_invalidate($path);
|
||||
}
|
||||
}
|
||||
return $ret;
|
||||
|
|
@ -1408,7 +1408,7 @@ class OC_Util {
|
|||
}
|
||||
// Opcache (PHP >= 5.5)
|
||||
if (function_exists('opcache_reset')) {
|
||||
opcache_reset();
|
||||
@opcache_reset();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue