diff options
author | Daniel Kesselberg <mail@danielkesselberg.de> | 2018-08-12 17:14:08 +0200 |
---|---|---|
committer | Daniel Kesselberg <mail@danielkesselberg.de> | 2018-08-12 17:14:08 +0200 |
commit | bfa49410a2d46e095ec63fe52f8033b488cd8259 (patch) | |
tree | 0792842ac18be7986e1ee1b36a57e645db5104e4 /lib/private/legacy/util.php | |
parent | 4cdad9b69f71f185d8f7e857a7e99f5fae9c42e7 (diff) | |
download | nextcloud-server-bfa49410a2d46e095ec63fe52f8033b488cd8259.tar.gz nextcloud-server-bfa49410a2d46e095ec63fe52f8033b488cd8259.zip |
Drop support for xcache
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
Diffstat (limited to 'lib/private/legacy/util.php')
-rw-r--r-- | lib/private/legacy/util.php | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/lib/private/legacy/util.php b/lib/private/legacy/util.php index 1b9f52008fd..7916a13179a 100644 --- a/lib/private/legacy/util.php +++ b/lib/private/legacy/util.php @@ -1403,14 +1403,6 @@ class OC_Util { if (function_exists('accelerator_reset')) { accelerator_reset(); } - // XCache - if (function_exists('xcache_clear_cache')) { - if (\OC::$server->getIniWrapper()->getBool('xcache.admin.enable_auth')) { - \OCP\Util::writeLog('core', 'XCache opcode cache will not be cleared because "xcache.admin.enable_auth" is enabled.', ILogger::WARN); - } else { - @xcache_clear_cache(XC_TYPE_PHP, 0); - } - } // Opcache (PHP >= 5.5) if (function_exists('opcache_reset')) { @opcache_reset(); |