diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2018-03-19 12:52:35 +0300 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2018-03-19 12:52:35 +0300 |
commit | 47a300814186061991821f8a707c63a3de636b6d (patch) | |
tree | 8db21adb6842f60faab6505422566896228aeff9 /lib/public/Files.php | |
parent | 63bc633d89e53c2ff04d3fd521a2a1b18f6737f7 (diff) |
Remove \OCP\Files::tmpFile
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'lib/public/Files.php')
-rw-r--r-- | lib/public/Files.php | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/lib/public/Files.php b/lib/public/Files.php index d66e0f1b645..e596997a47e 100644 --- a/lib/public/Files.php +++ b/lib/public/Files.php @@ -89,19 +89,6 @@ class Files { } /** - * Create a temporary file with an unique filename - * @param string $postfix - * @return string - * - * temporary files are automatically cleaned up after the script is finished - * @deprecated 8.1.0 use getTemporaryFile() of \OCP\ITempManager - \OC::$server->getTempManager() - * @since 5.0.0 - */ - public static function tmpFile( $postfix='' ) { - return \OC::$server->getTempManager()->getTemporaryFile($postfix); - } - - /** * Create a temporary folder with an unique filename * @return string * |