From: kondou Date: Sun, 28 Jul 2013 14:33:03 +0000 (+0200) Subject: Also clean PHP 5.5 opcache X-Git-Tag: v6.0.0alpha2~390^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=8cd671c207ec1f98e31fb341d8dfc0162d944fb4;p=nextcloud-server.git Also clean PHP 5.5 opcache --- diff --git a/lib/util.php b/lib/util.php index 2586ad28320..1f666a5e37f 100755 --- a/lib/util.php +++ b/lib/util.php @@ -871,6 +871,10 @@ class OC_Util { if (function_exists('xcache_clear_cache')) { xcache_clear_cache(XC_TYPE_VAR, 0); } + // Opcache (PHP >= 5.5) + if (function_exists('opcache_reset')) { + opcache_reset(); + } } /**