Index: trunk/phase3/includes/installer/Installer.php |
— | — | @@ -357,22 +357,6 @@ |
358 | 358 | if( $status->isOK() ) { |
359 | 359 | LBFactory::enableBackend(); |
360 | 360 | } |
361 | | - |
362 | | - |
363 | | - $titleobj = Title::newFromText( wfMsgNoDB( "mainpage" ) ); |
364 | | - $article = new Article( $titleobj ); |
365 | | - $newid = $article->insertOn( $installer->db ); |
366 | | - $revision = new Revision( array( |
367 | | - 'page' => $newid, |
368 | | - 'text' => wfMsg( 'mainpagetext' ) . "\n\n" . wfMsgNoTrans( 'mainpagedocfooter' ), |
369 | | - 'comment' => '', |
370 | | - 'user' => 0, |
371 | | - 'user_text' => 'MediaWiki default', |
372 | | - ) ); |
373 | | - $revid = $revision->insertOn( $installer->db ); |
374 | | - $article->updateRevisionOn( $installer->db, $revision ); |
375 | | - |
376 | | - return $status; |
377 | 361 | } |
378 | 362 | |
379 | 363 | /** |