EditPage::newSectionSummary should return a value in all code paths

Followup I72890c06.

Change-Id: Id63c3f3d2c180d193c37091dfe5f1c56e3edb45f
This commit is contained in:
Brad Jorsch 2014-08-04 10:48:00 -04:00
parent 6f02280988
commit b62f3428de

View file

@ -1468,9 +1468,8 @@ class EditPage {
$cleanSummary = $wgParser->stripSectionName( $this->summary );
return wfMessage( 'newsectionsummary' )
->rawParams( $cleanSummary )->inContentLanguage()->text();
} else {
return $this->summary;
}
return $this->summary;
}
/**