From d16a49a74aaf0edabcb99fd9c7f9f58411ab032e Mon Sep 17 00:00:00 2001 From: Eliot Whalan Date: Tue, 14 Jun 2016 16:55:07 +1000 Subject: Revert "upload.php: Deprecate all named functions" This reverts commit cae3cb012812c2d7e1995301e85c8954567a499d. --- static/upload.php | 8 -------- 1 file changed, 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 -- cgit v1.2.3