Révision 01dfd3b5
Ajouté par Assos Assos il y a plus de 3 ans
drupal7/modules/simpletest/simpletest.module | ||
---|---|---|
563 | 563 |
* Removed prefixed tables from the database that are left over from crashed tests. |
564 | 564 |
*/ |
565 | 565 |
function simpletest_clean_database() { |
566 |
$tables = db_find_tables(Database::getConnection()->prefixTables('{simpletest}') . '%'); |
|
566 |
$tables = db_find_tables_d8(Database::getConnection()->prefixTables('{simpletest}') . '%');
|
|
567 | 567 |
$schema = drupal_get_schema_unprocessed('simpletest'); |
568 | 568 |
$count = 0; |
569 | 569 |
foreach (array_diff_key($tables, $schema) as $table) { |
Formats disponibles : Unified diff
Udpate to 7.77