From 728648ad77ba3d96d8e61f95a748702df3d615bd Mon Sep 17 00:00:00 2001 From: Morris Jobke Date: Thu, 29 Oct 2015 09:52:13 +0100 Subject: Replace new occurences of ini_get with IniWrapper methods --- lib/private/tempmanager.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/private/tempmanager.php') diff --git a/lib/private/tempmanager.php b/lib/private/tempmanager.php index 365d639389f..ac44b76d683 100644 --- a/lib/private/tempmanager.php +++ b/lib/private/tempmanager.php @@ -213,7 +213,7 @@ class TempManager implements ITempManager { if ($temp = $this->config->getSystemValue('tempdirectory', null)) { $directories[] = $temp; } - if ($temp = ini_get('upload_tmp_dir')) { + if ($temp = \OC::$server->getIniWrapper()->get('upload_tmp_dir')) { $directories[] = $temp; } if ($temp = getenv('TMP')) { -- cgit v1.2.3