Clear xCache OpCode cache instead of variable cache in clearOpcodeCache().
This commit is contained in:
parent
8d762f659a
commit
799106db81
1 changed files with 1 additions and 1 deletions
|
@ -872,7 +872,7 @@ class OC_Util {
|
|||
if (ini_get('xcache.admin.enable_auth')) {
|
||||
OC_Log::write('core', 'XCache will not be cleared because "xcache.admin.enable_auth" is enabled in php.ini.', \OC_Log::WARN);
|
||||
} else {
|
||||
xcache_clear_cache(XC_TYPE_VAR, 0);
|
||||
xcache_clear_cache(XC_TYPE_PHP, 0);
|
||||
}
|
||||
}
|
||||
// Opcache (PHP >= 5.5)
|
||||
|
|
Loading…
Reference in a new issue