summaryrefslogtreecommitdiffstats
path: root/lib/private/memcache
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/memcache
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/memcache')
-rw-r--r--lib/private/memcache/xcache.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/memcache/xcache.php b/lib/private/memcache/xcache.php
index f1f932ba2c0..0d2e43a1c18 100644
--- a/lib/private/memcache/xcache.php
+++ b/lib/private/memcache/xcache.php
@@ -124,7 +124,7 @@ class XCache extends Cache implements IMemcache {
// AND administration functions are password-protected.
return false;
}
- $var_size = (int)ini_get('xcache.var_size');
+ $var_size = \OC::$server->getIniWrapper()->getNumeric('xcache.var_size');
if (!$var_size) {
return false;
}