Skip to content
Snippets Groups Projects
Commit 3a843af2 authored by Dries Buytaert's avatar Dries Buytaert
Browse files

- Patch #415250 by Jaza, R.Muilwijk, jhodgdon: remove unused parameter from...

- Patch #415250 by Jaza, R.Muilwijk, jhodgdon: remove unused parameter from comment_admin_overview().
parent 45efa0dd
No related branches found
No related tags found
No related merge requests found
......@@ -16,19 +16,17 @@ function comment_admin($type = 'new') {
return drupal_get_form('comment_multiple_delete_confirm');
}
else {
return drupal_get_form('comment_admin_overview', $type, arg(4));
return drupal_get_form('comment_admin_overview', $type);
}
}
/**
* Form builder; Builds the comment overview form for the admin.
* Form builder for the comment overview administration form.
*
* @param $type
* Not used.
* @param $arg
* Current path's fourth component deciding the form type (Published comments/Approval queue).
* @return
* The form structure.
* Current path's fourth component: the type of overview form ('approval' or
* 'new').
*
* @ingroup forms
* @see comment_admin_overview_validate()
* @see comment_admin_overview_submit()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment