summaryrefslogtreecommitdiffstats
path: root/lib/public/files.php
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2015-04-19 00:20:09 +0200
committerMorris Jobke <hey@morrisjobke.de>2015-04-20 13:15:45 +0200
commit0a594cd3a5554dcb518fd48978fad2d6a6546122 (patch)
tree4348222606373d338f66d3ff65f51dee86920764 /lib/public/files.php
parentcdf82909b8225a885fbf92b78208fb1fe258853e (diff)
downloadnextcloud-server-0a594cd3a5554dcb518fd48978fad2d6a6546122.tar.gz
nextcloud-server-0a594cd3a5554dcb518fd48978fad2d6a6546122.zip
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 57747a4c354..29c65e48fd6 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() {