Update Composer, update everything
This commit is contained in:
parent
ea3e94409f
commit
dda5c284b6
19527 changed files with 1135420 additions and 351004 deletions
|
@ -335,6 +335,7 @@ function db_transaction($name = NULL, array $options = []) {
|
|||
* \Drupal\Core\Database\Database::setActiveConnection().
|
||||
*/
|
||||
function db_set_active($key = 'default') {
|
||||
@trigger_error('db_set_active() is deprecated in Drupal 8.0.x and will be removed before Drupal 9.0.0. Use \Drupal\Core\Database\Database::setActiveConnection() instead. See https://www.drupal.org/node/2944084.', E_USER_DEPRECATED);
|
||||
return Database::setActiveConnection($key);
|
||||
}
|
||||
|
||||
|
@ -644,6 +645,11 @@ function db_index_exists($table, $name) {
|
|||
* @see \Drupal\Core\Database\Schema::tableExists()
|
||||
*/
|
||||
function db_table_exists($table) {
|
||||
@trigger_error(
|
||||
'db_table_exists() is deprecated in Drupal 8.0.x and will be removed before Drupal 9.0.0. Use $injected_database->schema()->tableExists($table) instead. See https://www.drupal.org/node/2947929.',
|
||||
E_USER_DEPRECATED
|
||||
);
|
||||
|
||||
return Database::getConnection()->schema()->tableExists($table);
|
||||
}
|
||||
|
||||
|
@ -722,6 +728,7 @@ function db_rename_table($table, $new_name) {
|
|||
* @see \Drupal\Core\Database\Schema::dropTable()
|
||||
*/
|
||||
function db_drop_table($table) {
|
||||
@trigger_error('db_drop_table() is deprecated in Drupal 8.0.x and will be removed before Drupal 9.0.0. Use \Drupal\Core\Database\Database::getConnection()->schema()->dropTable() instead. See https://www.drupal.org/node/2987737', E_USER_DEPRECATED);
|
||||
return Database::getConnection()->schema()->dropTable($table);
|
||||
}
|
||||
|
||||
|
|
Reference in a new issue