diff --git a/ext/comment/main.php b/ext/comment/main.php index 9300b50d..d2d7f32b 100644 --- a/ext/comment/main.php +++ b/ext/comment/main.php @@ -173,7 +173,6 @@ class CommentList extends SimpleExtension { $h_comment_rate = sprintf("%.1f", ($i_comment_count / $i_days_old)); $event->add_stats("Comments made: $i_comment_count, $h_comment_rate per day"); - global $user; $recent = $this->get_user_recent_comments($event->display_user->id, 10); $this->theme->display_user_comments($recent); }