remove obsolete piece of code - newarticletext is never written into blank

pages
This commit is contained in:
Erik Moeller 2005-09-04 17:41:44 +00:00
parent d138f74c78
commit 8fb1491404

View file

@ -479,8 +479,7 @@ class EditPage {
$aid = $this->mTitle->getArticleID( GAID_FOR_UPDATE );
if ( 0 == $aid ) {
# Don't save a new article if it's blank.
if ( ( '' == $this->textbox1 ) ||
( wfMsg( 'newarticletext' ) == $this->textbox1 ) ) {
if ( ( '' == $this->textbox1 ) ) {
$wgOut->redirect( $this->mTitle->getFullURL() );
wfProfileOut( $fname );
return false;