|
@@ -207,8 +207,8 @@ function tripal_edit_mview($mview_id, $name, $modulename, $mv_table, $mv_specs,
|
|
|
|
|
|
// re-create the table differently depending on if it the traditional method
|
|
// re-create the table differently depending on if it the traditional method
|
|
// or the Drupal Schema API method
|
|
// or the Drupal Schema API method
|
|
- if ($mv_schema) {
|
|
|
|
- if (!tripal_create_chado_table ($ret, $mv_table, $schema_arr)) {
|
|
|
|
|
|
+ if ($mv_schema) {
|
|
|
|
+ if (!tripal_core_create_custom_table($ret, $mv_table, $schema_arr)) {
|
|
drupal_set_message(t("Could not create the materialized view. Check Drupal error report logs."));
|
|
drupal_set_message(t("Could not create the materialized view. Check Drupal error report logs."));
|
|
}
|
|
}
|
|
else {
|
|
else {
|