]> source.dussan.org Git - nextcloud-server.git/commitdiff
Clear xCache OpCode cache instead of variable cache in clearOpcodeCache().
authorAndreas Fischer <bantu@owncloud.com>
Thu, 15 Aug 2013 01:35:52 +0000 (03:35 +0200)
committerAndreas Fischer <bantu@owncloud.com>
Thu, 15 Aug 2013 01:35:52 +0000 (03:35 +0200)
lib/util.php

index 53ebe0247246a09843f79b599092948bd463f4f2..e9360b44f9edbcdffff3ead36e521a341cc53237 100755 (executable)
@@ -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)