Skip to content

Commit

Permalink
Tidy up hook definitions (#2621)
Browse files Browse the repository at this point in the history
  • Loading branch information
janette authored and fmizzell committed Aug 9, 2018
1 parent 940706b commit 6bcc878
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/dkan/dkan_sitewide/dkan_sitewide.module
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,15 @@ function dkan_sitewide_menu() {
}

/**
* Callback to make change search path backward compatible.
* Callback to make the search path change backward compatible.
*/
function dkan_sitewide_redirect_to_search() {
$params = drupal_get_query_parameters();
drupal_goto('/search/type/dataset', array('query' => $params), 301);
}

/**
* Adds group block to dataset node.
* Creates dkan user menu block.
*/
function dkan_sitewide_user_menu_block() {
global $user;
Expand Down

0 comments on commit 6bcc878

Please sign in to comment.