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.
I was looking at #666898: Allow user to specify db name suggestion and saw that there were two for-loops when one would suffice.
Attached patch implements this optimization and the principal of "return early".
This is a relatively minor issue, but was annoying me.
Comment | File | Size | Author |
---|---|---|---|
provision-optimize-suggest-db-name.patch | 1006 bytes | AaronBauman |
Comments
Comment #1
adrian CreditAttribution: adrian commentedcommitted, thanks.