From 5843aae4f2e8a7d1a194859bd4bb626e3de5da16 Mon Sep 17 00:00:00 2001 From: Shish Date: Sun, 5 Feb 2012 04:20:42 +0000 Subject: [PATCH] random unused global o_O --- ext/comment/main.php | 1 - 1 file changed, 1 deletion(-) 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); }