diff options
author | Andreas Fischer <bantu@owncloud.com> | 2013-08-15 03:35:52 +0200 |
---|---|---|
committer | Andreas Fischer <bantu@owncloud.com> | 2013-08-15 03:35:52 +0200 |
commit | 799106db811c432a6eea4d15b57339e980ab8cf7 (patch) | |
tree | daeac6fee0ee1c8e8e83ef531abb2c91bf11a32a | |
parent | 8d762f659a24a6b133d6bd4ca1cc2030bdce5ab0 (diff) | |
download | nextcloud-server-799106db811c432a6eea4d15b57339e980ab8cf7.tar.gz nextcloud-server-799106db811c432a6eea4d15b57339e980ab8cf7.zip |
Clear xCache OpCode cache instead of variable cache in clearOpcodeCache().
-rwxr-xr-x | lib/util.php | 2 |
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) |