summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEliot Whalan <ewhal@pantsu.cat>2016-06-14 08:55:07 +0200
committerEliot Whalan <ewhal@pantsu.cat>2016-06-14 08:55:07 +0200
commitd16a49a74aaf0edabcb99fd9c7f9f58411ab032e (patch)
tree7cdf161fc8b13fb5dae0c84f7ce674ff2a9821dd
parent181238d1de4940b13bef7a9db24cac9dfc6e9770 (diff)
Revert "upload.php: Deprecate all named functions"
This reverts commit cae3cb012812c2d7e1995301e85c8954567a499d.
-rw-r--r--static/upload.php8
1 files changed, 0 insertions, 8 deletions
diff --git a/static/upload.php b/static/upload.php
index 13acb0d..4b1f73d 100644
--- a/static/upload.php
+++ b/static/upload.php
@@ -45,8 +45,6 @@ require_once 'includes/database.inc.php';
/**
* Generates a random name for the file, retrying until we get an unused one.
*
- * @deprecated 2.1.0 May be moved into a class, namespaced and converted to
- * camelCase.
* @param UploadedFile $file
*
* @return string
@@ -101,8 +99,6 @@ function generate_name($file)
/**
* Handles the uploading and db entry for a file.
*
- * @deprecated 2.1.0 May be moved into a class, namespaced and converted to
- * camelCase.
* @param UploadedFile $file
*
* @return array
@@ -181,8 +177,6 @@ function upload_file($file)
/**
* Reorder files array by file.
*
- * @deprecated 2.1.0 May be moved into a class, namespaced and converted to
- * camelCase.
* @param $_FILES
*
* @return array
@@ -203,8 +197,6 @@ function diverse_array($files)
/**
* Reorganize the $_FILES array into something saner.
*
- * @deprecated 2.1.0 May be moved into a class, namespaced and converted to
- * camelCase.
* @param $_FILES
*
* @return array