diff options
author | Dries Buytaert <dries@buytaert.net> | 2010-06-25 21:24:35 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2010-06-25 21:24:35 +0000 |
commit | 3a843af2ae21e351b6f403e1d84531a7c5d9d3e1 (patch) | |
tree | 6328f76d41b2f0227b0dc8415ebb8f34f54f48af /modules/comment/comment.admin.inc | |
parent | 45efa0ddaa42936280dcf79fd0556aff1a2dc6ec (diff) | |
download | brdo-3a843af2ae21e351b6f403e1d84531a7c5d9d3e1.tar.gz brdo-3a843af2ae21e351b6f403e1d84531a7c5d9d3e1.tar.bz2 |
- Patch #415250 by Jaza, R.Muilwijk, jhodgdon: remove unused parameter from comment_admin_overview().
Diffstat (limited to 'modules/comment/comment.admin.inc')
-rw-r--r-- | modules/comment/comment.admin.inc | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/modules/comment/comment.admin.inc b/modules/comment/comment.admin.inc index ddbdc8bed..eb4a769b8 100644 --- a/modules/comment/comment.admin.inc +++ b/modules/comment/comment.admin.inc @@ -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() |