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.
$db_prefix has been replaced by table prefixed per connection.
Likewise, DatabaseConnection::prefixTables() needs to be replaced:
Database::getConnection()->prefixTables()
Comment | File | Size | Author |
---|---|---|---|
#1 | demo-HEAD.db-prefix.1.patch | 3.03 KB | sun |
Comments
Comment #1
sunThis should cut it, but be aware of #866756: file_directory_path('private') returns FALSE by default
Comment #2
Anonymous (not verified) CreditAttribution: Anonymous commentedThought I'd mention this worked for me
Sincerely,
Leighton Whiting
Comment #3
sunThanks for testing! Committed.
A new development snapshot will be available within the next 12 hours. This improvement will be available in the next official release.