From 9ca182e76e8404ca4315102021cb0cc867a4d5a0 Mon Sep 17 00:00:00 2001 From: Platonides Date: Tue, 19 Jul 2011 20:28:02 +0000 Subject: [PATCH] Follow-up r91246. The global is no longer needed. --- includes/api/ApiQueryWatchlist.php | 1 - 1 file changed, 1 deletion(-) diff --git a/includes/api/ApiQueryWatchlist.php b/includes/api/ApiQueryWatchlist.php index abb0ff8be1..0b7aae6242 100644 --- a/includes/api/ApiQueryWatchlist.php +++ b/includes/api/ApiQueryWatchlist.php @@ -292,7 +292,6 @@ class ApiQueryWatchlist extends ApiQueryGeneratorBase { } if ( $this->fld_parsedcomment && isset( $row->rc_comment ) ) { - global $wgUser; $vals['parsedcomment'] = $this->getSkin()->formatComment( $row->rc_comment, $title ); } -- 2.20.1