Code Duplication    Length = 5-5 lines in 2 locations

includes/installer/MssqlInstaller.php 1 location

@@ 396-400 (lines=5) @@
393
			$this->getPasswordBox( 'wgDBpassword', 'config-db-password' ) .
394
			Html::closeElement( 'div' );
395
396
		if ( $noCreateMsg ) {
397
			$s .= $this->parent->getWarningBox( wfMessage( $noCreateMsg )->plain() );
398
		} else {
399
			$s .= $this->getCheckBox( '_CreateDBAccount', 'config-db-web-create' );
400
		}
401
402
		$s .= Html::closeElement( 'div' ) . Html::closeElement( 'fieldset' );
403

includes/installer/DatabaseInstaller.php 1 location

@@ 653-657 (lines=5) @@
650
			$this->getTextBox( 'wgDBuser', 'config-db-username' ) .
651
			$this->getPasswordBox( 'wgDBpassword', 'config-db-password' ) .
652
			$this->parent->getHelpBox( 'config-db-web-help' );
653
		if ( $noCreateMsg ) {
654
			$s .= $this->parent->getWarningBox( wfMessage( $noCreateMsg )->plain() );
655
		} else {
656
			$s .= $this->getCheckBox( '_CreateDBAccount', 'config-db-web-create' );
657
		}
658
		$s .= Html::closeElement( 'div' ) . Html::closeElement( 'fieldset' );
659
660
		return $s;