diff --git a/ajax_comments.module b/ajax_comments.module
index e71d75e..f1d99d8 100644
--- a/ajax_comments.module
+++ b/ajax_comments.module
@@ -195,7 +195,7 @@ function ajax_comments_submit_js($form, &$form_state) {
   // will appear upon refresh. This seems dirty but it means we don't have to
   // rewrite the whole comment_form_submit(). Please chime in if you think this
   // is dumb.
-  ajax_comments_remove_status($_SESSION);
+  ajax_comments_remove_status();
 
   $comment = $form_state['comment'];
   $node = $form['#node'];
@@ -264,7 +264,7 @@ function ajax_comments_submit_js($form, &$form_state) {
 function ajax_comments_delete_js($form, &$form_state) {
   $comment = $form['#comment'];
 
-  ajax_comments_remove_status($_SESSION);
+  ajax_comments_remove_status();
 
   $notify_text = variable_get('ajax_comments_notify', '') ? theme('ajax_comments_notify_text', array('type' => 'delete')) : '';
 
@@ -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.');
