function tripal_add_legacy_mview

2.x tripal_core.DEPRECATED.api.inc tripal_add_legacy_mview($name, $modulename, $mv_table, $mv_specs, $indexed, $query, $special_index, $comment)
3.x tripal_core.DEPRECATED.inc tripal_add_legacy_mview($name, $modulename, $mv_table, $mv_specs, $indexed, $query, $special_index, $comment)

Deprecated

Restructured API to make naming more readable and consistent. Function was deprecated in Tripal 1.0 and will is in the process of being removed.

File

tripal_core/api/tripal_core.DEPRECATED.api.inc, line 846
Contains all the deprecated functions to keep the tripal api backwards compatible.

Code

function tripal_add_legacy_mview($name, $modulename, $mv_table, $mv_specs, $indexed, 
$query, $special_index, $comment) {

  tripal_report_error(
  'tripal_deprecated', 
  TRIPAL_ERROR, 
  "DEPRECATED: %old_function has been completely removed after a period of two releases
      since deprecation. Please use the new Materialized View Interface.", 
  array(
    '%old_function' => 'tripal_add_legacy_mview'
  )
  );

}