diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2013-07-29 04:40:01 -0700 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2013-07-29 04:40:01 -0700 |
commit | 954b5d9019263b8d11cd61c858942f9eee78421d (patch) | |
tree | ca119723a87d08eb6d2353c40f89c1b44b0e6ffe | |
parent | 0fde473cb74fbb5510bb3c8bf3f9ae9a3b37be8d (diff) | |
parent | 8cd671c207ec1f98e31fb341d8dfc0162d944fb4 (diff) | |
download | nextcloud-server-954b5d9019263b8d11cd61c858942f9eee78421d.tar.gz nextcloud-server-954b5d9019263b8d11cd61c858942f9eee78421d.zip |
Merge pull request #4216 from owncloud/clean_php55_opcache
Also clean PHP 5.5 opcache
-rwxr-xr-x | lib/util.php | 4 |
1 files changed, 4 insertions, 0 deletions
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(); + } } /** |