Commit 953c7bde authored by webchick's avatar webchick
Browse files

#373763 by Dave Reid: Fix bug in field_sql_storage_schema() that prevents...

#373763 by Dave Reid: Fix bug in field_sql_storage_schema() that prevents SimpleTest from clearing tables.
parent c03b4c54
......@@ -43,9 +43,8 @@ function field_sql_storage_schema() {
// Dynamic (data) tables.
if (db_table_exists('field_config')) {
$fields = field_read_fields();
$fields = field_read_fields(array(), array('include_deleted' => TRUE, 'include_inactive' => TRUE));
drupal_load('module', 'field_sql_storage');
$schema = array();
foreach ($fields as $field) {
$schema += _field_sql_storage_schema($field);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment