summaryrefslogtreecommitdiffstats
path: root/lib/private/tempmanager.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/tempmanager.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/tempmanager.php')
-rw-r--r--lib/private/tempmanager.php2
1 files changed, 1 insertions, 1 deletions
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')) {