diff --git a/core/lib/Drupal/Core/Database/Database.php b/core/lib/Drupal/Core/Database/Database.php index ac5eadd..a1777f1 100755 --- a/core/lib/Drupal/Core/Database/Database.php +++ b/core/lib/Drupal/Core/Database/Database.php @@ -366,7 +366,7 @@ } // @todo https://www.drupal.org/project/drupal/issues/3115388 - // Remove the deprecated getDatabaseDriverNamespace in Drupal 10.0. + // Remove use of the deprecated getDatabaseDriverNamespace in Drupal 9.1.0. $namespace = static::getDatabaseDriverNamespace(self::$databaseInfo[$key][$target]); $driver_class = $namespace . '\\Connection'; @@ -491,7 +491,7 @@ public static function getConnectionInfoAsUrl($key = 'default') { throw new \RuntimeException("Database connection $key not defined or missing the 'default' settings"); } // @todo https://www.drupal.org/project/drupal/issues/3115388 - // Remove the deprecated getDatabaseDriverNamespace in Drupal 10.0. + // Remove use of the deprecated getDatabaseDriverNamespace in Drupal 9.1.0. $connection_class = static::getDatabaseDriverNamespace($db_info['default']) . '\\Connection'; return $connection_class::createUrlFromConnectionOptions($db_info['default']); } @@ -509,10 +509,10 @@ public static function getConnectionInfoAsUrl($key = 'default') { * * @deprecated in drupal:9.0.0 and is removed from drupal:10.0.0. * $info['namespace] is always set now. - * @see https://www.drupal.org/project/drupal/issues/3115388 + * @see https://www.drupal.org/project/drupal/issues/3112476. */ protected static function getDatabaseDriverNamespace(array $connection_info) { - @trigger_error('getDatabaseDriverNamespace() is deprecated in drupal:9.0.0 and is removed from drupal:10.0.0. $info[''namespace''] is always set now. See https://www.drupal.org/project/drupal/issues/3115388.', E_USER_DEPRECATED); + @trigger_error('getDatabaseDriverNamespace() is deprecated in drupal:9.1.0 and is removed from drupal:10.0.0. $info[''namespace''] is always set now. See https://www.drupal.org/project/drupal/issues/3115388.', E_USER_DEPRECATED); if (isset($connection_info['namespace'])) { return $connection_info['namespace']; }