Skip to content

Commit

Permalink
Merge pull request tripal#1926 from pdtouch/tv4g2-issue1341-chadoQuer…
Browse files Browse the repository at this point in the history
…yDeprecations

Deprecations for tripal_chado.query in branch tv4g2-issue1341-chadoQu…
  • Loading branch information
laceysanderson authored Aug 23, 2024
2 parents e5877f0 + f561632 commit 0661de6
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tripal_chado/src/api/tripal_chado.query.api.php
Original file line number Diff line number Diff line change
Expand Up @@ -2199,7 +2199,13 @@ function hook_chado_get_schema_name_alter($schema_name, $context) {
*
* @ingroup tripal_chado_query_api
* @see \ChadoPrefixExtender::select()
*
* @deprecated and is removed from tripal:4.5.0.
* Instead, see https://github.com/tripal/tripal/issues/1343 and https://tripaldoc.readthedocs.io/en/latest/dev_guide/deprecations.html
*/
function chado_db_select($table, $alias = NULL, array $options = []) {

@trigger_error('chado_db_select() is deprecated and is removed from drupal:4.5.0. Instead, see https://github.com/tripal/tripal/issues/1343 and https://tripaldoc.readthedocs.io/en/latest/dev_guide/deprecations.html', E_USER_DEPRECATED);

return ChadoPrefixExtender::select($table, $alias, $options);
}

0 comments on commit 0661de6

Please sign in to comment.