summaryrefslogtreecommitdiffstats
path: root/lib/public
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2018-03-19 12:29:08 +0100
committerGitHub <noreply@github.com>2018-03-19 12:29:08 +0100
commit9834f33d56f64f63b0f05c149418b2c83d5fa37d (patch)
tree9b41510d0e8307fa6ba5bbb9ed066f839ef5364c /lib/public
parent0929e048f83bb8643e630c14d72314ac54e32fde (diff)
parent1088068c60d4d085b5751485cf233459d5b0fe3f (diff)
downloadnextcloud-server-9834f33d56f64f63b0f05c149418b2c83d5fa37d.tar.gz
nextcloud-server-9834f33d56f64f63b0f05c149418b2c83d5fa37d.zip
Merge pull request #8878 from nextcloud/remove_tmpfile
Remove deprecated tmpFile/tmpFolder
Diffstat (limited to 'lib/public')
-rw-r--r--lib/public/Files.php25
1 files changed, 0 insertions, 25 deletions
diff --git a/lib/public/Files.php b/lib/public/Files.php
index d66e0f1b645..7b1b1921ed9 100644
--- a/lib/public/Files.php
+++ b/lib/public/Files.php
@@ -89,31 +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
- *
- * temporary files are automatically cleaned up after the script is finished
- * @deprecated 8.1.0 use getTemporaryFolder() of \OCP\ITempManager - \OC::$server->getTempManager()
- * @since 5.0.0
- */
- public static function tmpFolder() {
- return \OC::$server->getTempManager()->getTemporaryFolder();
- }
-
- /**
* Adds a suffix to the name in case the file exists
* @param string $path
* @param string $filename