function chado_reimport_publications

2.x tripal_pub.DEPRECATED.inc chado_reimport_publications($do_contact = FALSE, $dbxref = NULL, $db = NULL)
3.x tripal_chado.pub.api.inc chado_reimport_publications($do_contact = FALSE, $dbxref = NULL, $db = NULL)

Deprecated

Restructured API to make naming more readable and consistent. Function was deprecated in Tripal 2.0 and will be removed 2 releases from now. This function has been replaced by tripal_reimport_publications().

See also

tripal_reimport_publications().

1 call to chado_reimport_publications()
1 string reference to 'chado_reimport_publications'

File

tripal_pub/api/tripal_pub.DEPRECATED.inc, line 80
Wrapper functions to provide backwards compatibility for the tripal analysis api

Code

function chado_reimport_publications($do_contact = FALSE, $dbxref = NULL, $db = NULL) {

  tripal_report_error(
  'tripal_deprecated', 
  TRIPAL_NOTICE, 
  "DEPRECATED: %old_function has been replaced with %new_function. Please update your code.", 
  array(
    '%old_function' => 'chado_reimport_publications',
    '%new_function' => 'tripal_reimport_publications'
  )
  );

  return tripal_reimport_publications($do_contact, $dbxref, $db);
}