Revert unintended core changes in r52627
authorAndrew Garrett <werdna@users.mediawiki.org>
Wed, 1 Jul 2009 17:48:30 +0000 (17:48 +0000)
committerAndrew Garrett <werdna@users.mediawiki.org>
Wed, 1 Jul 2009 17:48:30 +0000 (17:48 +0000)
includes/Exception.php
includes/Skin.php

index 7e5f067..b2d668c 100644 (file)
@@ -26,8 +26,7 @@ class MWException extends Exception {
        function useMessageCache() {
                global $wgLang;
                foreach ( $this->getTrace() as $frame ) {
-                       if ( isset( $frame['class'] ) && 
-                                       $frame['class'] == 'LocalisationCache' ) {
+                       if ( $frame['class'] == 'LocalisationCache' ) {
                                return false;
                        }
                }
index bd1d40e..6ff984b 100644 (file)
@@ -290,35 +290,6 @@ class Skin extends Linker {
        public function getTitle() {
                return $this->mTitle;
        }
-       
-       function outputUnwrappedText( $out ) {
-               global $wgDebugComments;
-               wfProfileIn( __METHOD__ );
-
-               $this->setMembers();
-               $this->initPage( $out );
-
-               $out->out( $out->headElement( $this ) );
-
-               $out->out( "\n<body" );
-               $ops = $this->getBodyOptions();
-               foreach ( $ops as $name => $val ) {
-                       $out->out( " $name='$val'" );
-               }
-               $out->out( ">\n" );
-               if ( $wgDebugComments ) {
-                       $out->out( "<!-- Wiki debugging output:\n" .
-                         $out->mDebugtext . "-->\n" );
-               }
-
-               $out->out( $out->mBodytext . "\n" );
-               $out->out( $this->bottomScripts() );
-
-               $out->out( wfReportTime() );
-
-               $out->out( "\n</body></html>" );
-               wfProfileOut( __METHOD__ );
-       }
 
        function outputPage( OutputPage $out ) {
                global $wgDebugComments;