Issue #3178225 by Liam Morland, FMB, smustgrave, joachim: Make @todo for file_save_upload() refer to the correct issue

merge-requests/4205/merge
catch 2023-06-29 13:56:12 +01:00
parent 5067812f07
commit b6b1fb1ea4
1 changed files with 0 additions and 2 deletions

View File

@ -608,8 +608,6 @@ function _file_save_upload_from_form(array $element, FormStateInterface $form_st
* there was an error. Function returns NULL if no file was uploaded. * there was an error. Function returns NULL if no file was uploaded.
* *
* @see _file_save_upload_from_form() * @see _file_save_upload_from_form()
*
* @todo: move this logic to a service in https://www.drupal.org/node/2244513.
*/ */
function file_save_upload($form_field_name, $validators = [], $destination = FALSE, $delta = NULL, $replace = FileSystemInterface::EXISTS_RENAME) { function file_save_upload($form_field_name, $validators = [], $destination = FALSE, $delta = NULL, $replace = FileSystemInterface::EXISTS_RENAME) {
static $upload_cache; static $upload_cache;