From 799106db811c432a6eea4d15b57339e980ab8cf7 Mon Sep 17 00:00:00 2001 From: Andreas Fischer Date: Thu, 15 Aug 2013 03:35:52 +0200 Subject: [PATCH] Clear xCache OpCode cache instead of variable cache in clearOpcodeCache(). --- lib/util.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/util.php b/lib/util.php index 53ebe02472..e9360b44f9 100755 --- a/lib/util.php +++ b/lib/util.php @@ -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)