aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/util.php
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2015-10-29 09:52:13 +0100
committerMorris Jobke <hey@morrisjobke.de>2015-11-23 14:12:36 +0100
commit728648ad77ba3d96d8e61f95a748702df3d615bd (patch)
tree9091dbb05dadb9106ad047764c55ce4e6cb99bf5 /lib/private/util.php
parent9caf4ffbfc2be077a1431149e77be485cd087081 (diff)
downloadnextcloud-server-728648ad77ba3d96d8e61f95a748702df3d615bd.tar.gz
nextcloud-server-728648ad77ba3d96d8e61f95a748702df3d615bd.zip
Replace new occurences of ini_get with IniWrapper methods
Diffstat (limited to 'lib/private/util.php')
-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 69f01c22be9..95cbc480eaf 100644
--- a/lib/private/util.php
+++ b/lib/private/util.php
@@ -1415,7 +1415,7 @@ class OC_Util {
}
// XCache
if (function_exists('xcache_clear_cache')) {
- if (ini_get('xcache.admin.enable_auth')) {
+ 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.', \OCP\Util::WARN);
} else {
@xcache_clear_cache(XC_TYPE_PHP, 0);