Index: branches/REL1_17/phase3/includes/db/Database.php |
— | — | @@ -2987,7 +2987,7 @@ |
2988 | 2988 | } |
2989 | 2989 | |
2990 | 2990 | function fileCachedPage() { |
2991 | | - global $wgTitle, $title, $wgLang, $wgOut; |
| 2991 | + global $wgTitle, $wgLang, $wgOut; |
2992 | 2992 | |
2993 | 2993 | if ( $wgOut->isDisabled() ) { |
2994 | 2994 | return; // Done already? |
— | — | @@ -3001,8 +3001,6 @@ |
3002 | 3002 | |
3003 | 3003 | if ( $wgTitle ) { |
3004 | 3004 | $t =& $wgTitle; |
3005 | | - } elseif ( $title ) { |
3006 | | - $t = Title::newFromURL( $title ); |
3007 | 3005 | } else { |
3008 | 3006 | $t = Title::newFromText( $mainpage ); |
3009 | 3007 | } |