diff --git a/ajax_comments.module b/ajax_comments.module
index e71d75e..698bea0 100644
--- a/ajax_comments.module
+++ b/ajax_comments.module
@@ -500,7 +500,7 @@ function ajax_comments_delete($cid) {
  * Removes "Your comment has been posted." or "Your comment has been queued.."
  *   from the status message.
  */
-function ajax_comments_remove_status(&$_SESSION) {
+function ajax_comments_remove_status() {
   $deleted = t('The comment and all its replies have been deleted.');
   $published = t('Your comment has been posted.');
   $not_published = t('Your comment has been queued for review by site administrators and will be published after approval.');
