From: Platonides Date: Tue, 19 Jul 2011 20:28:02 +0000 (+0000) Subject: Follow-up r91246. The global is no longer needed. X-Git-Tag: 1.31.0-rc.0~28739 X-Git-Url: http://git.cyclocoop.org/%27.%28%24current%20%3E%202?a=commitdiff_plain;h=9ca182e76e8404ca4315102021cb0cc867a4d5a0;p=lhc%2Fweb%2Fwiklou.git Follow-up r91246. The global is no longer needed. --- 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 ); }