diff options
author | Morris Jobke <hey@morrisjobke.de> | 2015-12-18 11:19:53 +0100 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2015-12-18 11:19:53 +0100 |
commit | 90b0831cec88763038e241cc4816db204c045e69 (patch) | |
tree | 060da11646fe3d34db61b6b4be9d6d001bb9d090 /lib/private/archive | |
parent | 6a7dbf3cf24125bfac5089a4fae0a305591410de (diff) | |
download | nextcloud-server-90b0831cec88763038e241cc4816db204c045e69.tar.gz nextcloud-server-90b0831cec88763038e241cc4816db204c045e69.zip |
Use TempManager instead of tmpFolder
Diffstat (limited to 'lib/private/archive')
-rw-r--r-- | lib/private/archive/tar.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/archive/tar.php b/lib/private/archive/tar.php index 4448e56850d..4066e1d86c1 100644 --- a/lib/private/archive/tar.php +++ b/lib/private/archive/tar.php @@ -86,7 +86,7 @@ class OC_Archive_TAR extends OC_Archive { * @return bool */ function addFolder($path) { - $tmpBase = OC_Helper::tmpFolder(); + $tmpBase = \OC::$server->getTempManager()->getTemporaryFolder(); if (substr($path, -1, 1) != '/') { $path .= '/'; } |