You are here

function biblio_types_hide in Bibliography Module 5

1 string reference to 'biblio_types_hide'
biblio_menu in ./biblio.module
Implementation of hook_menu().

File

./biblio.module, line 916

Code

function biblio_types_hide() {
  $args = func_get_args();
  if ($args[0] > 0 && is_numeric($args[0])) {
    $result = db_query('UPDATE {biblio_types} SET visible = 0 WHERE tid = %d ', $args[0]);
  }
  drupal_goto('admin/settings/biblio/types');
}