From 47a300814186061991821f8a707c63a3de636b6d Mon Sep 17 00:00:00 2001 From: Roeland Jago Douma Date: Mon, 19 Mar 2018 10:52:35 +0100 Subject: Remove \OCP\Files::tmpFile Signed-off-by: Roeland Jago Douma --- lib/public/Files.php | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'lib/public') 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 @@ -88,19 +88,6 @@ class Files { return $count; } - /** - * 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 -- cgit v1.2.3