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've replaced Database::getConnection() with \Drupal::database()
This is default way in Drupal Core.
Please review my changes
Comment | File | Size | Author |
---|---|---|---|
#2 | 2610538-database-usage-code-clean-2.patch | 12.8 KB | id.tarzanych |
Comments
Comment #2
id.tarzanych CreditAttribution: id.tarzanych commentedComment #4
salvisThank you, id.tarzanych!