Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
As far as I can see, this code serves no purpose anymore - it's leftover from #1468210: Remove special $user->uid == 1 check in file_validate_size() when the code actually did need to do things as a specific user account.
Comment | File | Size | Author |
---|---|---|---|
#7 | file-validate-size-test-cleanup-2331151-7.patch | 1.01 KB | Devin Carlson |
#3 | file-validate-size-test-cleanup-2331151-3.patch | 800 bytes | David_Rothstein |
#1 | file-validate-size-test-cleanup-2331151-1.patch | 793 bytes | David_Rothstein |
Comments
Comment #1
David_Rothstein CreditAttribution: David_Rothstein commentedComment #3
David_Rothstein CreditAttribution: David_Rothstein commentedTrying again...
Comment #4
swentel CreditAttribution: swentel commentedComment #5
alexpottCommitted ee91cb0 and pushed to 8.0.x. Thanks!
Comment #7
Devin Carlson CreditAttribution: Devin Carlson commentedBackport of #3.
Comment #8
mgiffordSeems safe to mark this RTBC then. The functionality to run the test as a different user has been removed in d7 too. It's not a straight backport, but looks like there would be no problems by removing this extra code.
Comment #9
dcam CreditAttribution: dcam commentedAgreed. The code can go. RTBC.
Comment #10
David_Rothstein CreditAttribution: David_Rothstein commentedCommitted to 7.x - thanks!