diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2013-07-30 00:37:05 +0200 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2013-07-30 00:37:05 +0200 |
commit | f658852276204fbf1a76d58ac2f585cf9db8c75d (patch) | |
tree | 5fbd6d93c7435022e8539065a45469bd249799ad /lib/util.php | |
parent | 085fdfec2f298fd89d0265d0f97edfdda5a12954 (diff) | |
parent | 7c6246fa451c4646dfaa1396dd37e0b3eb9706ba (diff) | |
download | nextcloud-server-f658852276204fbf1a76d58ac2f585cf9db8c75d.tar.gz nextcloud-server-f658852276204fbf1a76d58ac2f585cf9db8c75d.zip |
Merge branch 'master' into fixing-testGetById-master
Diffstat (limited to 'lib/util.php')
-rwxr-xr-x | lib/util.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/util.php b/lib/util.php index 7f7b9f334b4..b7dc2207e6c 100755 --- a/lib/util.php +++ b/lib/util.php @@ -1,7 +1,5 @@ <?php -require_once 'Patchwork/PHP/Shim/Normalizer.php'; - /** * Class for utility functions * @@ -873,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(); + } } /** |