Skip to content
Snippets Groups Projects
Commit 99e9f868 authored by Dries Buytaert's avatar Dries Buytaert
Browse files

- Patch #7575 by ax: not in global scope, making updates fail.

parent 0e6221a1
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -29,8 +29,7 @@ function db_prefix_tables($sql) {
* @param $name The named connection specified in the $db_url variable.
*/
function db_set_active($name = 'default') {
global $db_url;
global $active_db;
global $db_url, $db_type, $active_db;
static $db_conns;
if (!isset($db_conns[$name])) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment