Clear xCache OpCode cache instead of variable cache in clearOpcodeCache().

This commit is contained in:
Andreas Fischer 2013-08-15 03:35:52 +02:00
parent 8d762f659a
commit 799106db81
1 changed files with 1 additions and 1 deletions

View File

@ -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)