Skip to content
Snippets Groups Projects
Commit b4eaea27 authored by Alex Pott's avatar Alex Pott
Browse files

Issue #1468210 followup by David_Rothstein: Fixed Remove special ->uid == 1...

Issue #1468210 followup by David_Rothstein: Fixed Remove special ->uid == 1 check in file_validate_size().
parent d00049dc
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -378,8 +378,6 @@ function file_validate_extensions(File $file, $extensions) {
/**
* Checks that the file's size is below certain limits.
*
* This check is not enforced for the user #1.
*
* @param Drupal\file\File $file
* A file entity.
* @param $file_limit
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment