Reverted part of r91246, fixes: Fatal error: Call to undefined method RawPage::getSkin() in C:\wamp\www\MW_trunk\includes\RawPage.php on line 156

This commit is contained in:
Aaron Schulz 2011-07-05 21:28:27 +00:00
parent 3bf71ea951
commit 3a6e42d66b

View file

@ -151,9 +151,9 @@ class RawPage {
}
function getRawText() {
global $wgOut;
global $wgOut, $wgUser;
if( $this->mGen ) {
$sk = $this->getSkin();
$sk = $wgUser->getSkin();
if( !StubObject::isRealObject( $wgOut ) ) {
$wgOut->_unstub( 2 );
}