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.
Problem/Motivation
While debugging this issue: #2509188: The directory public://pictures does not exist or is not writable., I noticed a slight inefficiency in the user_admin_settings() function. The variable_get('user_pictures', 0)
code is called twice where it could only be called once.
Remaining tasks
Review patch.
Comment | File | Size | Author |
---|---|---|---|
#1 | drupal-7.x-2509214-remove_redundant_vget-1.patch | 1.51 KB | dooug |
Comments
Comment #1
dooug CreditAttribution: dooug at Promet Source commentedComment #2
dooug CreditAttribution: dooug at Promet Source commented