Follow-up r91246. The global is no longer needed.
authorPlatonides <platonides@users.mediawiki.org>
Tue, 19 Jul 2011 20:28:02 +0000 (20:28 +0000)
committerPlatonides <platonides@users.mediawiki.org>
Tue, 19 Jul 2011 20:28:02 +0000 (20:28 +0000)
includes/api/ApiQueryWatchlist.php

index abb0ff8..0b7aae6 100644 (file)
@@ -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 );
                }