Browse Source

API: set deprecated messages to have a module of tripal_deprecated to make it easy to filter these notices out

Lacey Sanderson 11 years ago
parent
commit
76f90b145f

+ 5 - 5
tripal_analysis/api/tripal_analysis.DEPRECATED.inc

@@ -14,7 +14,7 @@
 function tripal_analysis_get_property($analysis_id, $property, $cv_name = 'tripal') {
 
   tripal_report_error(
-    'tripal_api',
+    'tripal_deprecated',
     TRIPAL_NOTICE,
     "DEPRECATED: %old_function has been replaced with %new_function. Please update your code.",
     array(
@@ -36,7 +36,7 @@ function tripal_analysis_get_property($analysis_id, $property, $cv_name = 'tripa
 function tripal_analysis_insert_property($analysis_id, $property, $value, $update_if_present = 0, $cv_name = 'tripal') {
 
   tripal_report_error(
-    'tripal_api',
+    'tripal_deprecated',
     TRIPAL_NOTICE,
     "DEPRECATED: %old_function has been replaced with %new_function. Please update your code.",
     array(
@@ -58,7 +58,7 @@ function tripal_analysis_insert_property($analysis_id, $property, $value, $updat
 function tripal_analysis_update_property($analysis_id, $property, $value, $insert_if_missing = 0, $cv_name = 'tripal') {
 
   tripal_report_error(
-    'tripal_api',
+    'tripal_deprecated',
     TRIPAL_NOTICE,
     "DEPRECATED: %old_function has been replaced with %new_function. Please update your code.",
     array(
@@ -80,7 +80,7 @@ function tripal_analysis_update_property($analysis_id, $property, $value, $inser
 function tripal_analysis_delete_property($analysis_id, $property, $cv_name = 'tripal') {
 
   tripal_report_error(
-    'tripal_api',
+    'tripal_deprecated',
     TRIPAL_NOTICE,
     "DEPRECATED: %old_function has been replaced with %new_function. Please update your code.",
     array(
@@ -102,7 +102,7 @@ function tripal_analysis_delete_property($analysis_id, $property, $cv_name = 'tr
 function tripal_analysis_get_node($analysis_id) {
 
   tripal_report_error(
-    'tripal_api',
+    'tripal_deprecated',
     TRIPAL_NOTICE,
     "DEPRECATED: %old_function has been replaced with %new_function. Please update your code.",
     array(

+ 5 - 5
tripal_contact/api/tripal_contact.DEPRECATED.inc

@@ -14,7 +14,7 @@
 function tripal_contact_get_property($contact_id, $property) {
 
   tripal_report_error(
-    'tripal_api',
+    'tripal_deprecated',
     TRIPAL_NOTICE,
     "DEPRECATED: %old_function has been replaced with %new_function. Please update your code.",
     array(
@@ -36,7 +36,7 @@ function tripal_contact_get_property($contact_id, $property) {
 function tripal_contact_insert_property($contact_id, $property, $value, $update_if_present = 0) {
 
   tripal_report_error(
-    'tripal_api',
+    'tripal_deprecated',
     TRIPAL_NOTICE,
     "DEPRECATED: %old_function has been replaced with %new_function. Please update your code.",
     array(
@@ -58,7 +58,7 @@ function tripal_contact_insert_property($contact_id, $property, $value, $update_
 function tripal_contact_update_property($contact_id, $property, $value, $insert_if_missing = 0) {
 
   tripal_report_error(
-    'tripal_api',
+    'tripal_deprecated',
     TRIPAL_NOTICE,
     "DEPRECATED: %old_function has been replaced with %new_function. Please update your code.",
     array(
@@ -80,7 +80,7 @@ function tripal_contact_update_property($contact_id, $property, $value, $insert_
 function tripal_contact_delete_property($contact_id, $property) {
 
   tripal_report_error(
-    'tripal_api',
+    'tripal_deprecated',
     TRIPAL_NOTICE,
     "DEPRECATED: %old_function has been replaced with %new_function. Please update your code.",
     array(
@@ -102,7 +102,7 @@ function tripal_contact_delete_property($contact_id, $property) {
 function tripal_contact_add_contact($name, $description, $type, $properties) {
 
   tripal_report_error(
-    'tripal_api',
+    'tripal_deprecated',
     TRIPAL_NOTICE,
     "DEPRECATED: %old_function has been replaced with %new_function. Please update your code.",
     array(

+ 61 - 61
tripal_core/api/tripal_core.DEPRECATED.inc

@@ -14,7 +14,7 @@
 function chado_get_id_for_node($table, $node) {
 
   tripal_report_error(
-    'tripal_api',
+    'tripal_deprecated',
     TRIPAL_NOTICE,
     "DEPRECATED: %old_function has been replaced with %new_function. The arguments have been changed slightly (ie: $nid instead of $node). Please update your code.",
     array(
@@ -37,7 +37,7 @@ function chado_get_id_for_node($table, $node) {
 function chado_get_node_id($table, $id) {
 
   tripal_report_error(
-    'tripal_api',
+    'tripal_deprecated',
     TRIPAL_NOTICE,
     "DEPRECATED: %old_function has been replaced with %new_function. Please update your code.",
     array(
@@ -60,7 +60,7 @@ function chado_get_node_id($table, $id) {
 function tripal_core_chado_node_cleanup_orphaned($table, $job_id = NULL) {
 
   tripal_report_error(
-    'tripal_api',
+    'tripal_deprecated',
     TRIPAL_NOTICE,
     "DEPRECATED: %old_function has been replaced with %new_function. Please update your code.",
     array(
@@ -83,7 +83,7 @@ function tripal_core_chado_node_cleanup_orphaned($table, $job_id = NULL) {
 function chado_node_additional_dbxrefs_form(&$form, &$form_state, $details) {
 
   tripal_report_error(
-    'tripal_api',
+    'tripal_deprecated',
     TRIPAL_NOTICE,
     "DEPRECATED: %old_function has been replaced with %new_function. Please update your code.",
     array(
@@ -106,7 +106,7 @@ function chado_node_additional_dbxrefs_form(&$form, &$form_state, $details) {
 function chado_node_additional_dbxrefs_form_retreive($node) {
 
   tripal_report_error(
-    'tripal_api',
+    'tripal_deprecated',
     TRIPAL_NOTICE,
     "DEPRECATED: %old_function has been replaced with %new_function. Please update your code.",
     array(
@@ -129,7 +129,7 @@ function chado_node_additional_dbxrefs_form_retreive($node) {
 function chado_node_additional_dbxrefs_form_update_dbxrefs($node, $details, $retrieved_dbxrefs = FALSE) {
 
   tripal_report_error(
-    'tripal_api',
+    'tripal_deprecated',
     TRIPAL_NOTICE,
     "DEPRECATED: %old_function has been replaced with %new_function. Please update your code.",
     array(
@@ -152,7 +152,7 @@ function chado_node_additional_dbxrefs_form_update_dbxrefs($node, $details, $ret
 function chado_node_properties_form($form, $form_state, $details) {
 
   tripal_report_error(
-    'tripal_api',
+    'tripal_deprecated',
     TRIPAL_NOTICE,
     "DEPRECATED: %old_function has been replaced with %new_function. Please update your code.",
     array(
@@ -175,7 +175,7 @@ function chado_node_properties_form($form, $form_state, $details) {
 function chado_node_properties_form_retreive($node) {
 
   tripal_report_error(
-    'tripal_api',
+    'tripal_deprecated',
     TRIPAL_NOTICE,
     "DEPRECATED: %old_function has been replaced with %new_function. Please update your code.",
     array(
@@ -198,7 +198,7 @@ function chado_node_properties_form_retreive($node) {
 function chado_node_properties_form_update_properties($node, $details, $retrieved_properties = FALSE) {
 
   tripal_report_error(
-    'tripal_api',
+    'tripal_deprecated',
     TRIPAL_NOTICE,
     "DEPRECATED: %old_function has been replaced with %new_function. Please update your code.",
     array(
@@ -221,7 +221,7 @@ function chado_node_properties_form_update_properties($node, $details, $retrieve
 function chado_node_relationships_form(&$form, &$form_state, $details) {
 
   tripal_report_error(
-    'tripal_api',
+    'tripal_deprecated',
     TRIPAL_NOTICE,
     "DEPRECATED: %old_function has been replaced with %new_function. Please update your code.",
     array(
@@ -244,7 +244,7 @@ function chado_node_relationships_form(&$form, &$form_state, $details) {
 function chado_node_relationships_form_retreive($node) {
 
   tripal_report_error(
-    'tripal_api',
+    'tripal_deprecated',
     TRIPAL_NOTICE,
     "DEPRECATED: %old_function has been replaced with %new_function. Please update your code.",
     array(
@@ -267,7 +267,7 @@ function chado_node_relationships_form_retreive($node) {
 function chado_node_relationships_form_update_relationships($node, $details, $retrieved_relationships = FALSE) {
 
   tripal_report_error(
-    'tripal_api',
+    'tripal_deprecated',
     TRIPAL_NOTICE,
     "DEPRECATED: %old_function has been replaced with %new_function. Please update your code.",
     array(
@@ -290,7 +290,7 @@ function chado_node_relationships_form_update_relationships($node, $details, $re
 function tripal_core_chado_node_sync_form($form, &$form_state) {
 
   tripal_report_error(
-    'tripal_api',
+    'tripal_deprecated',
     TRIPAL_NOTICE,
     "DEPRECATED: %old_function has been replaced with %new_function. Please update your code.",
     array(
@@ -314,7 +314,7 @@ function tripal_core_chado_node_sync_records($base_table, $max_sync = FALSE, $or
     $types = array(), $ids = array(), $job_id = NULL) {
 
   tripal_report_error(
-    'tripal_api',
+    'tripal_deprecated',
     TRIPAL_NOTICE,
     "DEPRECATED: %old_function has been replaced with %new_function. Please update your code.",
     array(
@@ -335,7 +335,7 @@ function tripal_core_chado_node_sync_records($base_table, $max_sync = FALSE, $or
 function tripal_core_is_tripal_node_type() {
 
   tripal_report_error(
-    'tripal_api',
+    'tripal_deprecated',
     TRIPAL_ERROR,
     "DEPRECATED: %old_function has been completely removed since we felt there wasn't a real need for it.",
     array(
@@ -355,7 +355,7 @@ function tripal_core_is_tripal_node_type() {
 function tripal_core_chado_get_foreign_key($table_desc, $field, $values, $options = NULL) {
 
   tripal_report_error(
-    'tripal_api',
+    'tripal_deprecated',
     TRIPAL_NOTICE,
     "DEPRECATED: %old_function has been replaced with %new_function. Please update your code.",
     array(
@@ -378,7 +378,7 @@ function tripal_core_chado_get_foreign_key($table_desc, $field, $values, $option
 function tripal_core_chado_delete($table, $match, $options = NULL) {
 
   tripal_report_error(
-    'tripal_api',
+    'tripal_deprecated',
     TRIPAL_NOTICE,
     "DEPRECATED: %old_function has been replaced with %new_function. Please update your code.",
     array(
@@ -401,7 +401,7 @@ function tripal_core_chado_delete($table, $match, $options = NULL) {
 function tripal_core_expand_chado_vars($object, $type, $to_expand, $table_options = array()) {
 
   tripal_report_error(
-    'tripal_api',
+    'tripal_deprecated',
     TRIPAL_NOTICE,
     "DEPRECATED: %old_function has been replaced with %new_function. Please update your code.",
     array(
@@ -424,7 +424,7 @@ function tripal_core_expand_chado_vars($object, $type, $to_expand, $table_option
 function tripal_core_generate_chado_var($table, $values, $base_options = array()) {
 
   tripal_report_error(
-    'tripal_api',
+    'tripal_deprecated',
     TRIPAL_NOTICE,
     "DEPRECATED: %old_function has been replaced with %new_function. Please update your code.",
     array(
@@ -447,7 +447,7 @@ function tripal_core_generate_chado_var($table, $values, $base_options = array()
 function tripal_core_chado_insert($table, $values, $options = array()) {
 
   tripal_report_error(
-    'tripal_api',
+    'tripal_deprecated',
     TRIPAL_NOTICE,
     "DEPRECATED: %old_function has been replaced with %new_function. Please update your code.",
     array(
@@ -469,7 +469,7 @@ function tripal_core_chado_insert($table, $values, $options = array()) {
  */
 function tripal_core_chado_select($table, $columns, $values, $options = NULL) {
   tripal_report_error(
-    'tripal_api',
+    'tripal_deprecated',
     TRIPAL_NOTICE,
     "DEPRECATED: %old_function has been replaced with %new_function. Please update your code.",
     array(
@@ -491,7 +491,7 @@ function tripal_core_chado_select($table, $columns, $values, $options = NULL) {
  */
 function tripal_core_chado_update($table, $match, $values, $options = NULL) {
   tripal_report_error(
-    'tripal_api',
+    'tripal_deprecated',
     TRIPAL_NOTICE,
     "DEPRECATED: %old_function has been replaced with %new_function. Please update your code.",
     array(
@@ -513,7 +513,7 @@ function tripal_core_chado_update($table, $match, $values, $options = NULL) {
  */
 function tripal_create_moddir($module_name) {
   tripal_report_error(
-    'tripal_api',
+    'tripal_deprecated',
     TRIPAL_NOTICE,
     "DEPRECATED: %old_function has been replaced with %new_function. Please update your code.",
     array(
@@ -535,7 +535,7 @@ function tripal_create_moddir($module_name) {
  */
 function tripal_create_mod_subdir($module_name, $path) {
   tripal_report_error(
-    'tripal_api',
+    'tripal_deprecated',
     TRIPAL_NOTICE,
     "DEPRECATED: %old_function has been replaced with %new_function. Please update your code.",
     array(
@@ -558,7 +558,7 @@ function tripal_create_mod_subdir($module_name, $path) {
  */
 function tripal_file_directory_path() {
   tripal_report_error(
-    'tripal_api',
+    'tripal_deprecated',
     TRIPAL_NOTICE,
     "DEPRECATED: %old_function has been replaced with %new_function. Please update your code.",
     array(
@@ -580,7 +580,7 @@ function tripal_file_directory_path() {
  */
 function tripal_get_moddir($module_name) {
   tripal_report_error(
-    'tripal_api',
+    'tripal_deprecated',
     TRIPAL_NOTICE,
     "DEPRECATED: %old_function has been replaced with %new_function. Please update your code.",
     array(
@@ -602,7 +602,7 @@ function tripal_get_moddir($module_name) {
  */
 function tripal_jobs_cancel($job_id, $redirect = TRUE) {
   tripal_report_error(
-    'tripal_api',
+    'tripal_deprecated',
     TRIPAL_NOTICE,
     "DEPRECATED: %old_function has been replaced with %new_function. Please update your code.",
     array(
@@ -624,7 +624,7 @@ function tripal_jobs_cancel($job_id, $redirect = TRUE) {
  */
 function tripal_get_module_active_jobs($modulename) {
   tripal_report_error(
-    'tripal_api',
+    'tripal_deprecated',
     TRIPAL_NOTICE,
     "DEPRECATED: %old_function has been replaced with %new_function. Please update your code.",
     array(
@@ -646,7 +646,7 @@ function tripal_get_module_active_jobs($modulename) {
  */
 function tripal_jobs_get_end_time($job) {
   tripal_report_error(
-    'tripal_api',
+    'tripal_deprecated',
     TRIPAL_NOTICE,
     "DEPRECATED: %old_function has been replaced with %new_function. Please update your code.",
     array(
@@ -668,7 +668,7 @@ function tripal_jobs_get_end_time($job) {
  */
 function tripal_jobs_get_start_time($job) {
   tripal_report_error(
-    'tripal_api',
+    'tripal_deprecated',
     TRIPAL_NOTICE,
     "DEPRECATED: %old_function has been replaced with %new_function. Please update your code.",
     array(
@@ -690,7 +690,7 @@ function tripal_jobs_get_start_time($job) {
  */
 function tripal_jobs_get_submit_date($job) {
   tripal_report_error(
-    'tripal_api',
+    'tripal_deprecated',
     TRIPAL_NOTICE,
     "DEPRECATED: %old_function has been replaced with %new_function. Please update your code.",
     array(
@@ -712,7 +712,7 @@ function tripal_jobs_get_submit_date($job) {
  */
 function tripal_jobs_check_running() {
   tripal_report_error(
-    'tripal_api',
+    'tripal_deprecated',
     TRIPAL_NOTICE,
     "DEPRECATED: %old_function has been replaced with %new_function. Please update your code.",
     array(
@@ -734,7 +734,7 @@ function tripal_jobs_check_running() {
  */
 function tripal_jobs_launch($do_parallel = 0, $job_id = NULL) {
   tripal_report_error(
-    'tripal_api',
+    'tripal_deprecated',
     TRIPAL_NOTICE,
     "DEPRECATED: %old_function has been replaced with %new_function. Please update your code.",
     array(
@@ -756,7 +756,7 @@ function tripal_jobs_launch($do_parallel = 0, $job_id = NULL) {
  */
 function tripal_jobs_rerun($job_id, $goto_jobs_page = TRUE) {
   tripal_report_error(
-    'tripal_api',
+    'tripal_deprecated',
     TRIPAL_NOTICE,
     "DEPRECATED: %old_function has been replaced with %new_function. Please update your code.",
     array(
@@ -778,7 +778,7 @@ function tripal_jobs_rerun($job_id, $goto_jobs_page = TRUE) {
  */
 function tripal_job_set_progress($job_id, $percentage) {
   tripal_report_error(
-    'tripal_api',
+    'tripal_deprecated',
     TRIPAL_NOTICE,
     "DEPRECATED: %old_function has been replaced with %new_function. Please update your code.",
     array(
@@ -802,7 +802,7 @@ function tripal_mviews_action($op, $mview_id, $redirect = FALSE) {
 
   if ($op == 'update') {
     tripal_report_error(
-      'tripal_api',
+      'tripal_deprecated',
       TRIPAL_NOTICE,
       "DEPRECATED: %old_function has been replaced with %new_function. Please update your code.",
       array(
@@ -816,7 +816,7 @@ function tripal_mviews_action($op, $mview_id, $redirect = FALSE) {
   }
   if ($op == 'delete') {
     tripal_report_error(
-      'tripal_api',
+      'tripal_deprecated',
       TRIPAL_NOTICE,
       "DEPRECATED: %old_function has been replaced with %new_function. Please update your code.",
       array(
@@ -838,7 +838,7 @@ function tripal_add_legacy_mview($name, $modulename, $mv_table, $mv_specs, $inde
   $query, $special_index, $comment) {
 
   tripal_report_error(
-    'tripal_api',
+    '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.",
@@ -858,7 +858,7 @@ function tripal_add_legacy_mview($name, $modulename, $mv_table, $mv_specs, $inde
  */
 function tripal_update_mview($mview_id) {
   tripal_report_error(
-    'tripal_api',
+    'tripal_deprecated',
     TRIPAL_NOTICE,
     "DEPRECATED: %old_function has been replaced with %new_function. Please update your code.",
     array(
@@ -882,7 +882,7 @@ function tripal_update_mview($mview_id) {
 function tripal_core_delete_property_by_id($basetable, $property_id) {
 
   tripal_report_error(
-    'tripal_api',
+    'tripal_deprecated',
     TRIPAL_NOTICE,
     "DEPRECATED: %old_function has been replaced with %new_function. This requires manual
       intervention since the arguements for the two functions are different.
@@ -911,7 +911,7 @@ function tripal_core_delete_property_by_id($basetable, $property_id) {
  */
 function tripal_core_delete_property($basetable, $record_id, $property, $cv_name) {
   tripal_report_error(
-    'tripal_api',
+    'tripal_deprecated',
     TRIPAL_NOTICE,
     "DEPRECATED: %old_function has been replaced with %new_function. Please update your code.",
     array(
@@ -933,7 +933,7 @@ function tripal_core_delete_property($basetable, $record_id, $property, $cv_name
  */
 function tripal_core_get_property($basetable, $record_id, $property, $cv_name) {
   tripal_report_error(
-    'tripal_api',
+    'tripal_deprecated',
     TRIPAL_NOTICE,
     "DEPRECATED: %old_function has been replaced with %new_function. Please update your code.",
     array(
@@ -955,7 +955,7 @@ function tripal_core_get_property($basetable, $record_id, $property, $cv_name) {
  */
 function tripal_get_max_chado_rank($tablename, $where_options) {
   tripal_report_error(
-    'tripal_api',
+    'tripal_deprecated',
     TRIPAL_NOTICE,
     "DEPRECATED: %old_function has been replaced with %new_function. Please update your code.",
     array(
@@ -977,7 +977,7 @@ function tripal_get_max_chado_rank($tablename, $where_options) {
  */
 function get_max_chado_rank($tablename, $where_options) {
   tripal_report_error(
-    'tripal_api',
+    'tripal_deprecated',
     TRIPAL_NOTICE,
     "DEPRECATED: %old_function has been replaced with %new_function. Please update your code.",
     array(
@@ -1001,7 +1001,7 @@ function get_max_chado_rank($tablename, $where_options) {
 function tripal_core_insert_property($basetable, $record_id, $property,
 $cv_name, $value, $update_if_present = 0) {
   tripal_report_error(
-    'tripal_api',
+    'tripal_deprecated',
     TRIPAL_NOTICE,
     "DEPRECATED: %old_function has been replaced with %new_function. Please update your code.",
     array(
@@ -1024,7 +1024,7 @@ $cv_name, $value, $update_if_present = 0) {
 function tripal_core_update_property_by_id($basetable, $record_id, $property,
 $cv_name, $value) {
   tripal_report_error(
-    'tripal_api',
+    'tripal_deprecated',
     TRIPAL_NOTICE,
     "DEPRECATED: %old_function has been replaced with %new_function. This requires manual
       intervention since the arguments have changed. Please update your code.",
@@ -1048,7 +1048,7 @@ $cv_name, $value) {
 function tripal_core_update_property($basetable, $record_id, $property,
 $cv_name, $value, $insert_if_missing = 0) {
   tripal_report_error(
-    'tripal_api',
+    'tripal_deprecated',
     TRIPAL_NOTICE,
     "DEPRECATED: %old_function has been replaced with %new_function. Please update your code.",
     array(
@@ -1070,7 +1070,7 @@ $cv_name, $value, $insert_if_missing = 0) {
  */
 function tripal_core_create_custom_table(&$ret, $table, $schema, $skip_creation = 1) {
   tripal_report_error(
-    'tripal_api',
+    'tripal_deprecated',
     TRIPAL_NOTICE,
     "DEPRECATED: %old_function has been replaced with %new_function. Note that $ret has
       been removed from the paramters since this is not longer used in Drupal 7.
@@ -1094,7 +1094,7 @@ function tripal_core_create_custom_table(&$ret, $table, $schema, $skip_creation
  */
 function tripal_core_edit_custom_table($table_id, $table_name, $schema, $skip_creation = 1) {
   tripal_report_error(
-    'tripal_api',
+    'tripal_deprecated',
     TRIPAL_NOTICE,
     "DEPRECATED: %old_function has been replaced with %new_function. Please update your code.",
     array(
@@ -1116,7 +1116,7 @@ function tripal_core_edit_custom_table($table_id, $table_name, $schema, $skip_cr
  */
 function tripal_custom_tables_get_table_id($table_name) {
   tripal_report_error(
-    'tripal_api',
+    'tripal_deprecated',
     TRIPAL_NOTICE,
     "DEPRECATED: %old_function has been replaced with %new_function. Please update your code.",
     array(
@@ -1138,7 +1138,7 @@ function tripal_custom_tables_get_table_id($table_name) {
  */
 function tripal_get_chado_custom_schema($table) {
   tripal_report_error(
-    'tripal_api',
+    'tripal_deprecated',
     TRIPAL_NOTICE,
     "DEPRECATED: %old_function has been replaced with %new_function. Please update your code.",
     array(
@@ -1160,7 +1160,7 @@ function tripal_get_chado_custom_schema($table) {
  */
 function tripal_core_is_chado_installed() {
   tripal_report_error(
-    'tripal_api',
+    'tripal_deprecated',
     TRIPAL_NOTICE,
     "DEPRECATED: %old_function has been replaced with %new_function. Please update your code.",
     array(
@@ -1182,7 +1182,7 @@ function tripal_core_is_chado_installed() {
  */
 function tripal_core_get_chado_table_schema($table) {
   tripal_report_error(
-    'tripal_api',
+    'tripal_deprecated',
     TRIPAL_NOTICE,
     "DEPRECATED: %old_function has been replaced with %new_function. Please update your code.",
     array(
@@ -1204,7 +1204,7 @@ function tripal_core_get_chado_table_schema($table) {
  */
 function tripal_core_get_chado_version($exact = FALSE, $warn_if_unsupported = FALSE) {
   tripal_report_error(
-    'tripal_api',
+    'tripal_deprecated',
     TRIPAL_NOTICE,
     "DEPRECATED: %old_function has been replaced with %new_function. Please update your code.",
     array(
@@ -1226,7 +1226,7 @@ function tripal_core_get_chado_version($exact = FALSE, $warn_if_unsupported = FA
  */
 function tripal_db_set_active($dbname  = 'default') {
   tripal_report_error(
-    'tripal_api',
+    'tripal_deprecated',
     TRIPAL_NOTICE,
     "DEPRECATED: %old_function has been replaced with %new_function. Please update your code.",
     array(
@@ -1248,7 +1248,7 @@ function tripal_db_set_active($dbname  = 'default') {
  */
 function tripal_core_is_chado_local() {
   tripal_report_error(
-    'tripal_api',
+    'tripal_deprecated',
     TRIPAL_NOTICE,
     "DEPRECATED: %old_function has been replaced with %new_function. Please update your code.",
     array(
@@ -1270,7 +1270,7 @@ function tripal_core_is_chado_local() {
  */
 function tripal_core_get_chado_tables($include_custom = NULL) {
   tripal_report_error(
-    'tripal_api',
+    'tripal_deprecated',
     TRIPAL_NOTICE,
     "DEPRECATED: %old_function has been replaced with %new_function. Please update your code.",
     array(
@@ -1292,7 +1292,7 @@ function tripal_core_get_chado_tables($include_custom = NULL) {
  */
 function tripal_core_chado_schema_exists() {
   tripal_report_error(
-    'tripal_api',
+    'tripal_deprecated',
     TRIPAL_NOTICE,
     "DEPRECATED: %old_function has been replaced with %new_function. Please update your code.",
     array(
@@ -1314,7 +1314,7 @@ function tripal_core_chado_schema_exists() {
  */
 function tripal_core_schema_exists($schema) {
   tripal_report_error(
-    'tripal_api',
+    'tripal_deprecated',
     TRIPAL_NOTICE,
     "DEPRECATED: %old_function has been replaced with %new_function. Please update your code.",
     array(
@@ -1336,7 +1336,7 @@ function tripal_core_schema_exists($schema) {
  *
 function theme_tripal_admin_message($variables) {
   tripal_report_error(
-    'tripal_api',
+    'tripal_deprecated',
     TRIPAL_NOTICE,
     "DEPRECATED: %old_function has been replaced with %new_function. Please update your code.",
     array(
@@ -1361,7 +1361,7 @@ function theme_tripal_admin_message($variables) {
 function tripal_core_report_error($type, $severity, $message, $variables = array(), $options = array()) {
 
   tripal_report_error(
-    'tripal_api',
+    'tripal_deprecated',
     TRIPAL_NOTICE,
     "DEPRECATED: %old_function has been replaced with %new_function. Please update your code.",
     array(

+ 15 - 15
tripal_cv/api/tripal_cv.DEPRECATED.inc

@@ -14,7 +14,7 @@
 function tripal_cv_get_cv($select_values) {
 
   tripal_report_error(
-    'tripal_api',
+    'tripal_deprecated',
     TRIPAL_NOTICE,
     "DEPRECATED: %old_function has been replaced with %new_function. Please update your code.",
     array(
@@ -36,7 +36,7 @@ function tripal_cv_get_cv($select_values) {
 function tripal_cv_get_cv_by_name($name) {
 
   tripal_report_error(
-    'tripal_api',
+    'tripal_deprecated',
     TRIPAL_NOTICE,
     "DEPRECATED: %old_function has been replaced with %new_function. Please update your code.",
     array(
@@ -58,7 +58,7 @@ function tripal_cv_get_cv_by_name($name) {
 function tripal_cv_get_cv_by_id($cv_id) {
 
   tripal_report_error(
-    'tripal_api',
+    'tripal_deprecated',
     TRIPAL_NOTICE,
     "DEPRECATED: %old_function has been replaced with %new_function. Please update your code.",
     array(
@@ -80,7 +80,7 @@ function tripal_cv_get_cv_by_id($cv_id) {
 function tripal_cv_get_cv_id($cv_name) {
 
   tripal_report_error(
-    'tripal_api',
+    'tripal_deprecated',
     TRIPAL_NOTICE,
     "DEPRECATED: %old_function has been replaced with %new_function. Please update your code.",
     array(
@@ -108,7 +108,7 @@ function tripal_cv_get_cv_id($cv_name) {
 function tripal_cv_get_cv_options() {
 
   tripal_report_error(
-    'tripal_api',
+    'tripal_deprecated',
     TRIPAL_NOTICE,
     "DEPRECATED: %old_function has been replaced with %new_function. Please update your code.",
     array(
@@ -130,7 +130,7 @@ function tripal_cv_get_cv_options() {
 function tripal_cv_get_cvterm_by_id($cvterm_id) {
 
   tripal_report_error(
-    'tripal_api',
+    'tripal_deprecated',
     TRIPAL_NOTICE,
     "DEPRECATED: %old_function has been replaced with %new_function. Please update your code.",
     array(
@@ -152,7 +152,7 @@ function tripal_cv_get_cvterm_by_id($cvterm_id) {
 function tripal_cv_get_cvterm_by_name($name, $cv_id = NULL, $cv_name = 'tripal') {
 
   tripal_report_error(
-    'tripal_api',
+    'tripal_deprecated',
     TRIPAL_NOTICE,
     "DEPRECATED: %old_function has been replaced with %new_function. Please update your code.",
     array(
@@ -184,7 +184,7 @@ function tripal_cv_get_cvterm_by_name($name, $cv_id = NULL, $cv_name = 'tripal')
 function tripal_cv_get_cvterm_by_synonym($synonym, $cv_id = NULL, $cv_name = 'tripal') {
 
   tripal_report_error(
-    'tripal_api',
+    'tripal_deprecated',
     TRIPAL_NOTICE,
     "DEPRECATED: %old_function has been replaced with %new_function. Please update your code.",
     array(
@@ -212,7 +212,7 @@ function tripal_cv_get_cvterm_by_synonym($synonym, $cv_id = NULL, $cv_name = 'tr
 function tripal_cv_get_cvterm_options($cv_id = 0) {
 
   tripal_report_error(
-    'tripal_api',
+    'tripal_deprecated',
     TRIPAL_NOTICE,
     "DEPRECATED: %old_function has been replaced with %new_function. Please update your code.",
     array(
@@ -234,7 +234,7 @@ function tripal_cv_get_cvterm_options($cv_id = 0) {
 function tripal_cv_update_cvtermpath($cvid, $job_id = NULL) {
 
   tripal_report_error(
-    'tripal_api',
+    'tripal_deprecated',
     TRIPAL_NOTICE,
     "DEPRECATED: %old_function has been replaced with %new_function. Please update your code.",
     array(
@@ -256,7 +256,7 @@ function tripal_cv_update_cvtermpath($cvid, $job_id = NULL) {
 function tripal_cv_add_cv($name, $definition) {
 
   tripal_report_error(
-    'tripal_api',
+    'tripal_deprecated',
     TRIPAL_NOTICE,
     "DEPRECATED: %old_function has been replaced with %new_function. Please update your code.",
     array(
@@ -278,7 +278,7 @@ function tripal_cv_add_cv($name, $definition) {
 function tripal_cv_add_cvterm($term, $defaultcv = '_global', $is_relationship = 0, $update = 1, $dbname = 'internal') {
 
   tripal_report_error(
-    'tripal_api',
+    'tripal_deprecated',
     TRIPAL_NOTICE,
     "DEPRECATED: %old_function has been replaced with %new_function. Please update your code.",
     array(
@@ -314,7 +314,7 @@ function tripal_cv_add_cvterm($term, $defaultcv = '_global', $is_relationship =
 function tripal_cv_submit_obo_job($obo_id = NULL, $obo_name = NULL, $obo_url = NULL, $obo_file = NULL) {
 
   tripal_report_error(
-    'tripal_api',
+    'tripal_deprecated',
     TRIPAL_NOTICE,
     "DEPRECATED: %old_function has been replaced with %new_function. Please update your code.",
     array(
@@ -343,7 +343,7 @@ function tripal_cv_submit_obo_job($obo_id = NULL, $obo_name = NULL, $obo_url = N
 function tripal_cv_add_obo_ref($name, $path) {
 
   tripal_report_error(
-    'tripal_api',
+    'tripal_deprecated',
     TRIPAL_NOTICE,
     "DEPRECATED: %old_function has been replaced with %new_function. Please update your code.",
     array(
@@ -365,7 +365,7 @@ function tripal_cv_add_obo_ref($name, $path) {
 function tripal_cv_cvterm_name_autocomplete($cv_id, $string = '') {
 
   tripal_report_error(
-    'tripal_api',
+    'tripal_deprecated',
     TRIPAL_NOTICE,
     "DEPRECATED: %old_function has been replaced with %new_function. Please update your code.",
     array(

+ 9 - 9
tripal_db/api/tripal_db.DEPRECATED.inc

@@ -14,7 +14,7 @@
 function tripal_db_get_db($select_values) {
 
   tripal_report_error(
-    'tripal_api',
+    'tripal_deprecated',
     TRIPAL_NOTICE,
     "DEPRECATED: %old_function has been replaced with %new_function. Please update your code.",
     array(
@@ -36,7 +36,7 @@ function tripal_db_get_db($select_values) {
 function tripal_db_get_db_by_db_id($db_id) {
 
   tripal_report_error(
-    'tripal_api',
+    'tripal_deprecated',
     TRIPAL_NOTICE,
     "DEPRECATED: %old_function has been replaced with %new_function. Please update your code.",
     array(
@@ -58,7 +58,7 @@ function tripal_db_get_db_by_db_id($db_id) {
 function tripal_db_get_db_by_name($name) {
 
   tripal_report_error(
-    'tripal_api',
+    'tripal_deprecated',
     TRIPAL_NOTICE,
     "DEPRECATED: %old_function has been replaced with %new_function. Please update your code.",
     array(
@@ -80,7 +80,7 @@ function tripal_db_get_db_by_name($name) {
 function tripal_db_get_db_options() {
 
   tripal_report_error(
-    'tripal_api',
+    'tripal_deprecated',
     TRIPAL_NOTICE,
     "DEPRECATED: %old_function has been replaced with %new_function. Please update your code.",
     array(
@@ -102,7 +102,7 @@ function tripal_db_get_db_options() {
 function tripal_db_get_dbxref($select_values) {
 
   tripal_report_error(
-    'tripal_api',
+    'tripal_deprecated',
     TRIPAL_NOTICE,
     "DEPRECATED: %old_function has been replaced with %new_function. Please update your code.",
     array(
@@ -124,7 +124,7 @@ function tripal_db_get_dbxref($select_values) {
 function tripal_db_get_dbxref_by_accession($accession, $db_id=0) {
 
   tripal_report_error(
-    'tripal_api',
+    'tripal_deprecated',
     TRIPAL_NOTICE,
     "DEPRECATED: %old_function has been replaced with %new_function. Please update your code.",
     array(
@@ -154,7 +154,7 @@ function tripal_db_get_dbxref_by_accession($accession, $db_id=0) {
 function tripal_db_add_db($dbname, $description = '', $url = '', $urlprefix = '', $update = 0) {
 
   tripal_report_error(
-    'tripal_api',
+    'tripal_deprecated',
     TRIPAL_NOTICE,
     "DEPRECATED: %old_function has been replaced with %new_function. Please update your code.",
     array(
@@ -186,7 +186,7 @@ function tripal_db_add_db($dbname, $description = '', $url = '', $urlprefix = ''
 function tripal_db_add_dbxref($db_id, $accession, $version = '', $description = '') {
 
   tripal_report_error(
-    'tripal_api',
+    'tripal_deprecated',
     TRIPAL_NOTICE,
     "DEPRECATED: %old_function has been replaced with %new_function. Please update your code.",
     array(
@@ -213,7 +213,7 @@ function tripal_db_add_dbxref($db_id, $accession, $version = '', $description =
 function tripal_db_add_dbxref_link($linking_table, $dbxref_id, $foreignkey_name, $foreignkey_id) {
 
   tripal_report_error(
-    'tripal_api',
+    'tripal_deprecated',
     TRIPAL_NOTICE,
     "DEPRECATED: %old_function has been replaced with %new_function. Please update your code.",
     array(

+ 17 - 17
tripal_feature/api/tripal_feature.DEPRECATED.inc

@@ -14,7 +14,7 @@
 function tripal_feature_analysis_get_property($analysis_id = NULL, $feature_id = NUll, $analysisfeature_id = NULL, $property, $cv_name = 'tripal') {
 
   tripal_report_error(
-    'tripal_api',
+    'tripal_deprecated',
     TRIPAL_NOTICE,
     "DEPRECATED: %old_function has been replaced with %new_function. Please update your code.",
     array(
@@ -53,7 +53,7 @@ function tripal_feature_analysis_get_property($analysis_id = NULL, $feature_id =
 function tripal_feature_analysis_insert_property($analysis_id = NULL, $feature_id = NUll, $analysisfeature_id = NULL, $property, $value, $update_if_present = 0, $cv_name = 'tripal') {
 
   tripal_report_error(
-    'tripal_api',
+    'tripal_deprecated',
     TRIPAL_NOTICE,
     "DEPRECATED: %old_function has been replaced with %new_function. Please update your code.",
     array(
@@ -94,7 +94,7 @@ function tripal_feature_analysis_insert_property($analysis_id = NULL, $feature_i
 function tripal_feature_analysis_update_property($analysis_id = NULL, $feature_id = NUll, $analysisfeature_id = NULL, $property, $value, $insert_if_missing = 0, $cv_name = 'tripal') {
 
   tripal_report_error(
-    'tripal_api',
+    'tripal_deprecated',
     TRIPAL_NOTICE,
     "DEPRECATED: %old_function has been replaced with %new_function. Please update your code.",
     array(
@@ -133,7 +133,7 @@ function tripal_feature_analysis_update_property($analysis_id = NULL, $feature_i
 function tripal_feature_analysis_update_property_by_id($analysisfeatureprop_id, $property, $value, $cv_name = 'tripal') {
 
   tripal_report_error(
-    'tripal_api',
+    'tripal_deprecated',
     TRIPAL_NOTICE,
     "DEPRECATED: %old_function has been replaced with %new_function. Please update your code.",
     array(
@@ -156,7 +156,7 @@ function tripal_feature_analysis_update_property_by_id($analysisfeatureprop_id,
 function tripal_feature_analysis_delete_property($analysis_id = NULL, $feature_id = NUll, $analysisfeature_id = NULL, $property, $cv_name = 'tripal') {
 
   tripal_report_error(
-    'tripal_api',
+    'tripal_deprecated',
     TRIPAL_NOTICE,
     "DEPRECATED: %old_function has been replaced with %new_function. Please update your code.",
     array(
@@ -196,7 +196,7 @@ function tripal_feature_analysis_delete_property($analysis_id = NULL, $feature_i
 function tripal_feature_analysis_delete_property_by_id($analysisfeatureprop_id) {
 
   tripal_report_error(
-    'tripal_api',
+    'tripal_deprecated',
     TRIPAL_NOTICE,
     "DEPRECATED: %old_function has been replaced with %new_function. Please update your code.",
     array(
@@ -223,7 +223,7 @@ function tripal_feature_analysis_delete_property_by_id($analysisfeatureprop_id)
 function tripal_feature_get_property($feature_id, $property, $cv_name='tripal') {
 
   tripal_report_error(
-    'tripal_api',
+    'tripal_deprecated',
     TRIPAL_NOTICE,
     "DEPRECATED: %old_function has been replaced with %new_function. Please update your code.",
     array(
@@ -245,7 +245,7 @@ function tripal_feature_get_property($feature_id, $property, $cv_name='tripal')
 function tripal_feature_insert_property($feature_id, $property, $value, $update_if_present = 0, $cv_name = 'tripal') {
 
   tripal_report_error(
-    'tripal_api',
+    'tripal_deprecated',
     TRIPAL_NOTICE,
     "DEPRECATED: %old_function has been replaced with %new_function. Please update your code.",
     array(
@@ -268,7 +268,7 @@ function tripal_feature_insert_property($feature_id, $property, $value, $update_
 function tripal_feature_update_property($feature_id, $property, $value, $insert_if_missing = 0, $cv_name = 'tripal') {
 
   tripal_report_error(
-    'tripal_api',
+    'tripal_deprecated',
     TRIPAL_NOTICE,
     "DEPRECATED: %old_function has been replaced with %new_function. Please update your code.",
     array(
@@ -290,7 +290,7 @@ function tripal_feature_update_property($feature_id, $property, $value, $insert_
 function tripal_feature_update_property_by_id($featureprop_id, $property, $value, $cv_name = 'tripal') {
 
   tripal_report_error(
-    'tripal_api',
+    'tripal_deprecated',
     TRIPAL_NOTICE,
     "DEPRECATED: %old_function has been replaced with %new_function. Please update your code.",
     array(
@@ -312,7 +312,7 @@ function tripal_feature_update_property_by_id($featureprop_id, $property, $value
 function tripal_feature_delete_property($feature_id, $property, $cv_name='tripal') {
 
   tripal_report_error(
-    'tripal_api',
+    'tripal_deprecated',
     TRIPAL_NOTICE,
     "DEPRECATED: %old_function has been replaced with %new_function. Please update your code.",
     array(
@@ -334,7 +334,7 @@ function tripal_feature_delete_property($feature_id, $property, $cv_name='tripal
 function tripal_feature_delete_property_by_id($featureprop_id) {
 
   tripal_report_error(
-    'tripal_api',
+    'tripal_deprecated',
     TRIPAL_NOTICE,
     "DEPRECATED: %old_function has been replaced with %new_function. Please update your code.",
     array(
@@ -361,7 +361,7 @@ function tripal_feature_delete_property_by_id($featureprop_id) {
 function tripal_feature_reverse_complement($sequence) {
 
   tripal_report_error(
-    'tripal_api',
+    'tripal_deprecated',
     TRIPAL_NOTICE,
     "DEPRECATED: %old_function has been replaced with %new_function. Please update your code.",
     array(
@@ -383,7 +383,7 @@ function tripal_feature_reverse_complement($sequence) {
 function tripal_feature_get_formatted_sequence($feature_id, $feature_name, $num_bases_per_line, $derive_from_parent, $aggregate, $output_format, $upstream, $downstream, $sub_features = array(), $relationship = '', $rel_part = '') {
 
   tripal_report_error(
-    'tripal_api',
+    'tripal_deprecated',
     TRIPAL_NOTICE,
     "DEPRECATED: %old_function has been replaced with %new_function. Please update your code.",
     array(
@@ -423,7 +423,7 @@ function tripal_feature_get_formatted_sequence($feature_id, $feature_name, $num_
 function tripal_feature_add_dbxref($feature_id, $dbname, $accession) {
 
   tripal_report_error(
-    'tripal_api',
+    'tripal_deprecated',
     TRIPAL_NOTICE,
     "DEPRECATED: %old_function has been replaced with %new_function. Please update your code.",
     array(
@@ -452,7 +452,7 @@ function tripal_feature_add_dbxref($feature_id, $dbname, $accession) {
 function tripal_feature_add_cvterm($feature_id, $cvname, $cvterm) {
 
   tripal_report_error(
-    'tripal_api',
+    'tripal_deprecated',
     TRIPAL_NOTICE,
     "DEPRECATED: %old_function has been replaced with %new_function. Please update your code.",
     array(
@@ -481,7 +481,7 @@ function tripal_feature_add_cvterm($feature_id, $cvname, $cvterm) {
 function tripal_feature_return_fasta($feature, $desc) {
 
   tripal_report_error(
-    'tripal_api',
+    'tripal_deprecated',
     TRIPAL_NOTICE,
     "DEPRECATED: %old_function has been replaced with %new_function. Please update your code.",
     array(

+ 5 - 5
tripal_featuremap/api/tripal_featuremap.DEPRECATED.inc

@@ -14,7 +14,7 @@
 function tripal_featuremap_get_property($featuremap_id, $property) {
 
   tripal_report_error(
-    'tripal_api',
+    'tripal_deprecated',
     TRIPAL_NOTICE,
     "DEPRECATED: %old_function has been replaced with %new_function. Please update your code.",
     array(
@@ -36,7 +36,7 @@ function tripal_featuremap_get_property($featuremap_id, $property) {
 function tripal_featuremap_insert_property($featuremap_id, $property, $value, $update_if_present = 0) {
 
   tripal_report_error(
-    'tripal_api',
+    'tripal_deprecated',
     TRIPAL_NOTICE,
     "DEPRECATED: %old_function has been replaced with %new_function. Please update your code.",
     array(
@@ -58,7 +58,7 @@ function tripal_featuremap_insert_property($featuremap_id, $property, $value, $u
 function tripal_featuremap_update_property($featuremap_id, $property, $value, $insert_if_missing = 0) {
 
   tripal_report_error(
-    'tripal_api',
+    'tripal_deprecated',
     TRIPAL_NOTICE,
     "DEPRECATED: %old_function has been replaced with %new_function. Please update your code.",
     array(
@@ -80,7 +80,7 @@ function tripal_featuremap_update_property($featuremap_id, $property, $value, $i
 function tripal_featuremap_delete_property($featuremap_id, $property) {
 
   tripal_report_error(
-    'tripal_api',
+    'tripal_deprecated',
     TRIPAL_NOTICE,
     "DEPRECATED: %old_function has been replaced with %new_function. Please update your code.",
     array(
@@ -102,7 +102,7 @@ function tripal_featuremap_delete_property($featuremap_id, $property) {
 function tripal_featuremap_add_featuremap_dbxref($featuremap_id, $featuremap_dbxref) {
 
   tripal_report_error(
-    'tripal_api',
+    'tripal_deprecated',
     TRIPAL_NOTICE,
     "DEPRECATED: %old_function has been replaced with %new_function. Please update your code.",
     array(

+ 4 - 4
tripal_library/api/tripal_library.DEPRECATED.inc

@@ -14,7 +14,7 @@
 function tripal_library_get_property($library_id, $property) {
 
   tripal_report_error(
-    'tripal_api',
+    'tripal_deprecated',
     TRIPAL_NOTICE,
     "DEPRECATED: %old_function has been replaced with %new_function. Please update your code.",
     array(
@@ -36,7 +36,7 @@ function tripal_library_get_property($library_id, $property) {
 function tripal_library_insert_property($library_id, $property, $value, $update_if_present = 0) {
 
   tripal_report_error(
-    'tripal_api',
+    'tripal_deprecated',
     TRIPAL_NOTICE,
     "DEPRECATED: %old_function has been replaced with %new_function. Please update your code.",
     array(
@@ -58,7 +58,7 @@ function tripal_library_insert_property($library_id, $property, $value, $update_
 function tripal_library_update_property($library_id, $property, $value, $insert_if_missing = 0) {
 
   tripal_report_error(
-    'tripal_api',
+    'tripal_deprecated',
     TRIPAL_NOTICE,
     "DEPRECATED: %old_function has been replaced with %new_function. Please update your code.",
     array(
@@ -80,7 +80,7 @@ function tripal_library_update_property($library_id, $property, $value, $insert_
 function tripal_library_delete_property($library_id, $property) {
 
   tripal_report_error(
-    'tripal_api',
+    'tripal_deprecated',
     TRIPAL_NOTICE,
     "DEPRECATED: %old_function has been replaced with %new_function. Please update your code.",
     array(

+ 4 - 4
tripal_organism/api/tripal_organism.DEPRECATED.inc

@@ -14,7 +14,7 @@
 function tripal_organism_get_organism_by_nid($nid) {
 
   tripal_report_error(
-    'tripal_api',
+    'tripal_deprecated',
     TRIPAL_NOTICE,
     "DEPRECATED: %old_function has been replaced with %new_function. Please update your code.",
     array(
@@ -36,7 +36,7 @@ function tripal_organism_get_organism_by_nid($nid) {
 function tripal_organism_get_organism_by_organism_id($organism_id) {
 
   tripal_report_error(
-    'tripal_api',
+    'tripal_deprecated',
     TRIPAL_NOTICE,
     "DEPRECATED: %old_function has been replaced with %new_function. Please update your code.",
     array(
@@ -58,7 +58,7 @@ function tripal_organism_get_organism_by_organism_id($organism_id) {
 function tripal_organism_get_synced() {
 
   tripal_report_error(
-    'tripal_api',
+    'tripal_deprecated',
     TRIPAL_NOTICE,
     "DEPRECATED: %old_function has been replaced with %new_function. Please update your code.",
     array(
@@ -80,7 +80,7 @@ function tripal_organism_get_synced() {
 function tripal_organism_get_image_url($organism, $nid = NULL) {
 
   tripal_report_error(
-    'tripal_api',
+    'tripal_deprecated',
     TRIPAL_NOTICE,
     "DEPRECATED: %old_function has been replaced with %new_function. Please update your code.",
     array(

+ 4 - 4
tripal_project/api/tripal_project.DEPRECATED.inc

@@ -14,7 +14,7 @@
 function tripal_project_get_property($project_id, $property) {
 
   tripal_report_error(
-    'tripal_api',
+    'tripal_deprecated',
     TRIPAL_NOTICE,
     "DEPRECATED: %old_function has been replaced with %new_function. Please update your code.",
     array(
@@ -36,7 +36,7 @@ function tripal_project_get_property($project_id, $property) {
 function tripal_project_insert_property($project_id, $property, $value, $update_if_present = 0) {
 
   tripal_report_error(
-    'tripal_api',
+    'tripal_deprecated',
     TRIPAL_NOTICE,
     "DEPRECATED: %old_function has been replaced with %new_function. Please update your code.",
     array(
@@ -58,7 +58,7 @@ function tripal_project_insert_property($project_id, $property, $value, $update_
 function tripal_project_update_property($project_id, $property, $value, $insert_if_missing = 0) {
 
   tripal_report_error(
-    'tripal_api',
+    'tripal_deprecated',
     TRIPAL_NOTICE,
     "DEPRECATED: %old_function has been replaced with %new_function. Please update your code.",
     array(
@@ -80,7 +80,7 @@ function tripal_project_update_property($project_id, $property, $value, $insert_
 function tripal_project_delete_property($project_id, $property) {
 
   tripal_report_error(
-    'tripal_api',
+    'tripal_deprecated',
     TRIPAL_NOTICE,
     "DEPRECATED: %old_function has been replaced with %new_function. Please update your code.",
     array(

+ 6 - 6
tripal_stock/api/tripal_stock.DEPRECATED.inc

@@ -14,7 +14,7 @@
 function tripal_stock_get_stock_by_nid($nid) {
 
   tripal_report_error(
-    'tripal_api',
+    'tripal_deprecated',
     TRIPAL_NOTICE,
     "DEPRECATED: %old_function has been replaced with %new_function. Please update your code.",
     array(
@@ -36,7 +36,7 @@ function tripal_stock_get_stock_by_nid($nid) {
 function tripal_stock_get_stock_by_stock_id($stock_id) {
 
   tripal_report_error(
-    'tripal_api',
+    'tripal_deprecated',
     TRIPAL_NOTICE,
     "DEPRECATED: %old_function has been replaced with %new_function. Please update your code.",
     array(
@@ -58,7 +58,7 @@ function tripal_stock_get_stock_by_stock_id($stock_id) {
 function tripal_stock_get_all_stocks() {
 
   tripal_report_error(
-    'tripal_api',
+    'tripal_deprecated',
     TRIPAL_NOTICE,
     "DEPRECATED: %old_function has been completely deprecated. There are often so many
      stocks in a chado database that it is unlikely a user really wants all of them.",
@@ -89,7 +89,7 @@ function tripal_stock_get_all_stocks() {
 function tripal_stock_get_stocks($values) {
 
   tripal_report_error(
-    'tripal_api',
+    'tripal_deprecated',
     TRIPAL_NOTICE,
     "DEPRECATED: %old_function has been replaced with %new_function. Please update your code.",
     array(
@@ -111,7 +111,7 @@ function tripal_stock_get_stocks($values) {
 function tripal_stock_get_stocks_by_stockprop($stockprop_values, $stock_values) {
 
   tripal_report_error(
-    'tripal_api',
+    'tripal_deprecated',
     TRIPAL_NOTICE,
     "DEPRECATED: %old_function has been replaced with %new_function. Please update your code.",
     array(
@@ -146,7 +146,7 @@ function tripal_stock_get_stocks_by_stockprop($stockprop_values, $stock_values)
 function tripal_stock_get_stock_by_name_identifier($name, $organism_id) {
 
   tripal_report_error(
-    'tripal_api',
+    'tripal_deprecated',
     TRIPAL_NOTICE,
     "DEPRECATED: %old_function has been replaced with %new_function. Please update your code.",
     array(