diff options
author | Morris Jobke <hey@morrisjobke.de> | 2015-12-18 11:25:33 +0100 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2015-12-18 11:25:33 +0100 |
commit | a18c0983d5db32e98461404888200118f83011d7 (patch) | |
tree | 98bebd6795b86dc39cf1a3b14acb77b872bc2ae6 /lib/private/helper.php | |
parent | 90b0831cec88763038e241cc4816db204c045e69 (diff) | |
download | nextcloud-server-a18c0983d5db32e98461404888200118f83011d7.tar.gz nextcloud-server-a18c0983d5db32e98461404888200118f83011d7.zip |
Use TempManager instead of tmpFile
Diffstat (limited to 'lib/private/helper.php')
-rw-r--r-- | lib/private/helper.php | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/lib/private/helper.php b/lib/private/helper.php index 556286f3519..08ddf2b0522 100644 --- a/lib/private/helper.php +++ b/lib/private/helper.php @@ -457,19 +457,6 @@ class OC_Helper { } /** - * create a temporary file with an unique filename - * - * @param string $postfix - * @return string - * @deprecated Use the TempManager instead - * - * temporary files are automatically cleaned up after the script is finished - */ - public static function tmpFile($postfix = '') { - return \OC::$server->getTempManager()->getTemporaryFile($postfix); - } - - /** * Adds a suffix to the name in case the file exists * * @param string $path |