summaryrefslogtreecommitdiffstats
path: root/lib/public/files.php
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2015-04-21 23:57:49 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2015-04-21 23:57:49 +0200
commit40fcc7480c357d313f865967f83d5338f785c96a (patch)
treea120dc1984831b74205aa08c239c6868fa4eacb8 /lib/public/files.php
parent9dc12d40d846d54e024812c2c23c402073f8dd03 (diff)
parent0a594cd3a5554dcb518fd48978fad2d6a6546122 (diff)
downloadnextcloud-server-40fcc7480c357d313f865967f83d5338f785c96a.tar.gz
nextcloud-server-40fcc7480c357d313f865967f83d5338f785c96a.zip
Merge pull request #15734 from owncloud/add-deprecate-tags
Add @deprecated to all methods with a proper method in \OCP
Diffstat (limited to 'lib/public/files.php')
-rw-r--r--lib/public/files.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/public/files.php b/lib/public/files.php
index c9944b2919a..c1dcffcbefb 100644
--- a/lib/public/files.php
+++ b/lib/public/files.php
@@ -91,6 +91,7 @@ class Files {
* @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='' ) {
@@ -102,6 +103,7 @@ class Files {
* @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() {