@@ -454,12 +429,7 @@ public function quoteIdentifiers($sql) {
* (optional) The table to find the prefix for.
*/
publicfunctiontablePrefix($table='default'){
if(isset($this->prefixes[$table])){
return$this->prefixes[$table];
}
else{
return$this->prefixes['default'];
}
return$this->prefix;
}
/**
@@ -468,8 +438,14 @@ public function tablePrefix($table = 'default') {
* @return array
* An array of un-prefixed table names, keyed by their fully qualified table
* names (i.e. prefix + table_name).
*
* @deprecated in drupal:10.0.0 and is removed from drupal:11.0.0. There is
* no replacement.
*
* @see https://www.drupal.org/node/3257198
*/
publicfunctiongetUnprefixedTablesMap(){
@trigger_error(__METHOD__.'() is deprecated in drupal:10.0.0 and is removed from drupal:11.0.0. There is no replacement. See https://www.drupal.org/node/3257198',E_USER_DEPRECATED);