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:
parent
3bf71ea951
commit
3a6e42d66b
1 changed files with 2 additions and 2 deletions
|
|
@ -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 );
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue