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