function chado_does_pub_exist

2.x tripal_pub.DEPRECATED.inc chado_does_pub_exist($pub_details)
3.x tripal_pub.DEPRECATED.inc chado_does_pub_exist($pub_details)

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_publication_exists().

See also

tripal_publication_exists().

1 call to chado_does_pub_exist()

File

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

Code

function chado_does_pub_exist($pub_details) {

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

  return tripal_publication_exists($pub_details);
}