random unused global o_O
This commit is contained in:
parent
04ed07a0df
commit
5843aae4f2
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user