diff options
author | Clark Tomlinson <fallen013@gmail.com> | 2014-09-17 10:07:32 -0400 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2015-11-23 14:12:31 +0100 |
commit | 9caf4ffbfc2be077a1431149e77be485cd087081 (patch) | |
tree | e420a23bd67c20add4d1dda1e783d1c01024190a /lib/private/memcache/apc.php | |
parent | bf672d7e51bd3411130a3c3a41a931fb3d23ff68 (diff) | |
download | nextcloud-server-9caf4ffbfc2be077a1431149e77be485cd087081.tar.gz nextcloud-server-9caf4ffbfc2be077a1431149e77be485cd087081.zip |
Replacing ini_get instances with inigetwrapper usages
Diffstat (limited to 'lib/private/memcache/apc.php')
-rw-r--r-- | lib/private/memcache/apc.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/memcache/apc.php b/lib/private/memcache/apc.php index f768cdc1c6e..e38b4bd3a39 100644 --- a/lib/private/memcache/apc.php +++ b/lib/private/memcache/apc.php @@ -115,9 +115,9 @@ class APC extends Cache implements IMemcache { static public function isAvailable() { if (!extension_loaded('apc')) { return false; - } elseif (!ini_get('apc.enabled')) { + } elseif (!\OC::$server->getIniWrapper()->getBool('apc.enabled')) { return false; - } elseif (!ini_get('apc.enable_cli') && \OC::$CLI) { + } elseif (!\OC::$server->getIniWrapper()->getBool('apc.enable_cli') && \OC::$CLI) { return false; } else { return true; |