mirror of
https://github.com/nextcloud/server.git
synced 2026-04-26 16:48:59 -04:00
Also clean PHP 5.5 opcache
This commit is contained in:
parent
fa35650e0a
commit
8cd671c207
1 changed files with 4 additions and 0 deletions
|
|
@ -871,6 +871,10 @@ class OC_Util {
|
|||
if (function_exists('xcache_clear_cache')) {
|
||||
xcache_clear_cache(XC_TYPE_VAR, 0);
|
||||
}
|
||||
// Opcache (PHP >= 5.5)
|
||||
if (function_exists('opcache_reset')) {
|
||||
opcache_reset();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue