|
@@ -26,28 +26,6 @@ function pub_search($search_array, $offset, $limit, &$total_records) {
|
|
|
return tripal_search_publications($search_array, $offset, $limit, $total_records);
|
|
|
}
|
|
|
|
|
|
-/**
|
|
|
- * @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_get_publication().
|
|
|
- *
|
|
|
- * @see tripal_get_publication().
|
|
|
- */
|
|
|
-function chado_get_publication($identifiers, $options = array()) {
|
|
|
-
|
|
|
- tripal_report_error(
|
|
|
- 'tripal_deprecated',
|
|
|
- TRIPAL_NOTICE,
|
|
|
- "DEPRECATED: %old_function has been replaced with %new_function. Please update your code.",
|
|
|
- array(
|
|
|
- '%old_function'=>'chado_get_publication',
|
|
|
- '%new_function' => 'tripal_get_publication'
|
|
|
- )
|
|
|
- );
|
|
|
-
|
|
|
- return tripal_get_publication($identifiers, $options);
|
|
|
-}
|
|
|
-
|
|
|
/**
|
|
|
* @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.
|
|
@@ -70,28 +48,6 @@ function chado_does_pub_exist($pub_details) {
|
|
|
return tripal_publication_exists($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_reimport_publications().
|
|
|
- *
|
|
|
- * @see tripal_reimport_publications().
|
|
|
- */
|
|
|
-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);
|
|
|
-}
|
|
|
-
|
|
|
/**
|
|
|
* @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.
|