浏览代码

Remove legacy deprecated functions causing conflict with new API names introduced in 8c916c2.

Lacey Sanderson 6 年之前
父节点
当前提交
4346b4b33a
共有 1 个文件被更改,包括 0 次插入44 次删除
  1. 0 44
      legacy/tripal_pub/api/tripal_pub.DEPRECATED.inc

+ 0 - 44
legacy/tripal_pub/api/tripal_pub.DEPRECATED.inc

@@ -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.