summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2015-05-19 09:32:17 +0200
committerMorris Jobke <hey@morrisjobke.de>2015-05-19 09:32:17 +0200
commitaae9274210ad80e3c313d55999684c03f6e06b2c (patch)
tree61c92a0aadbfa95df4aec63e40b40106aec0b1b8 /lib
parentf0e7ae5da803b4fc77f362b70e86b27e9b77f001 (diff)
parentcbfdbf96d2b2718dd6d388b96e2455ffcb8051a6 (diff)
downloadnextcloud-server-aae9274210ad80e3c313d55999684c03f6e06b2c.tar.gz
nextcloud-server-aae9274210ad80e3c313d55999684c03f6e06b2c.zip
Merge pull request #16293 from owncloud/xcache
Mute XCache error when trying to clear the opcode cache
Diffstat (limited to 'lib')
-rw-r--r--lib/private/util.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/util.php b/lib/private/util.php
index 367199f7735..3842d775b24 100644
--- a/lib/private/util.php
+++ b/lib/private/util.php
@@ -1335,7 +1335,7 @@ class OC_Util {
if (ini_get('xcache.admin.enable_auth')) {
OC_Log::write('core', 'XCache opcode cache will not be cleared because "xcache.admin.enable_auth" is enabled.', \OC_Log::WARN);
} else {
- xcache_clear_cache(XC_TYPE_PHP, 0);
+ @xcache_clear_cache(XC_TYPE_PHP, 0);
}
}
// Opcache (PHP >= 5.5)