diff options
author | Sam Reed <reedy@users.mediawiki.org> | 2011-07-01 02:25:19 +0000 |
---|---|---|
committer | Sam Reed <reedy@users.mediawiki.org> | 2011-07-01 02:25:19 +0000 |
commit | bdc31bb9bc995e28b2cf79cba8e95e44513da635 (patch) | |
tree | 5441e504431b4cda6930be57dbeda95fc3ecbbf4 /includes/ImagePage.php | |
parent | bb1df74f8715dcb2ec55a029c981d51ffdf50349 (diff) | |
download | mediawikicore-bdc31bb9bc995e28b2cf79cba8e95e44513da635.tar.gz mediawikicore-bdc31bb9bc995e28b2cf79cba8e95e44513da635.zip |
Change usages of $wgUser->getSkin() in special pages to use $this->getSkin()
Fix trailing whitespace
Notes
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/91246
Diffstat (limited to 'includes/ImagePage.php')
-rw-r--r-- | includes/ImagePage.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/ImagePage.php b/includes/ImagePage.php index ebbe36ca6c1c..e6090f27351e 100644 --- a/includes/ImagePage.php +++ b/includes/ImagePage.php @@ -879,7 +879,7 @@ class ImageHistoryList { */ public function __construct( $imagePage ) { global $wgUser, $wgShowArchiveThumbnails; - $this->skin = $wgUser->getSkin(); + $this->skin = $this->getSkin(); $this->current = $imagePage->getFile(); $this->img = $imagePage->getDisplayedFile(); $this->title = $imagePage->getTitle(); |