summaryrefslogtreecommitdiffstats
path: root/lib/private/legacy
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/legacy')
-rw-r--r--lib/private/legacy/util.php8
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();