Commit 592952c8 authored by ossguys's avatar ossguys Committed by amitgoyal
Browse files

Issue #2104587 by ossguys: Minor Coding Standard Issues

parent 26437d81
......@@ -4,13 +4,6 @@
* Contains install and update functions for advanced_help.
*/
/**
* Implements hook_install().
*/
function advanced_help_install() {
// drupal_set_message('Installing advanced_help.');
}
/**
* Implements hook_uninstall().
*/
......
......@@ -124,7 +124,8 @@ function advanced_help_uasort($id_a, $id_b) {
return 0;
}
/* Helper function for grabbing search keys. Function is missing in D7.
/**
* Helper function for grabbing search keys. Function is missing in D7.
*
* http://api.drupal.org/api/function/search_get_keys/6
*/
......@@ -204,8 +205,7 @@ function advanced_help_index_page($module = '') {
$output = array();
// Print a search widget.
$output['advanced_help_search'] = module_exists('search')
? drupal_get_form('advanced_help_search_form') : t('Enable the search module to search help.');
$output['advanced_help_search'] = module_exists('search') ? drupal_get_form('advanced_help_search_form') : t('Enable the search module to search help.');
$breadcrumb = array();
if ($module) {
......@@ -618,7 +618,7 @@ function advanced_help_get_topic_file_info($module, $topic) {
* Name of the module.
* @param string $topic
* Name of the topic.
* @param boolean $popup
* @param bool $popup
* Whether to show in popup or not.
*
* @return string
......@@ -854,7 +854,6 @@ function _advanced_help_parse_ini() {
/**
* Implements hook_search_info().
*
* @return array
* Returns title for the tab on search page & path component after 'search/'.
*/
function advanced_help_search_info() {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment