summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@owncloud.com>2013-08-15 03:35:52 +0200
committerAndreas Fischer <bantu@owncloud.com>2013-08-15 03:35:52 +0200
commit799106db811c432a6eea4d15b57339e980ab8cf7 (patch)
treedaeac6fee0ee1c8e8e83ef531abb2c91bf11a32a
parent8d762f659a24a6b133d6bd4ca1cc2030bdce5ab0 (diff)
downloadnextcloud-server-799106db811c432a6eea4d15b57339e980ab8cf7.tar.gz
nextcloud-server-799106db811c432a6eea4d15b57339e980ab8cf7.zip
Clear xCache OpCode cache instead of variable cache in clearOpcodeCache().
-rwxr-xr-xlib/util.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/util.php b/lib/util.php
index 53ebe024724..e9360b44f9e 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)