Commit b4eaea27 authored by alexpott's avatar alexpott
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
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment