Code Duplication    Length = 6-6 lines in 2 locations

includes/installer/MssqlInstaller.php 1 location

@@ 442-447 (lines=6) @@
439
440
		// Validate the create checkbox
441
		$canCreate = $this->canCreateAccounts();
442
		if ( !$canCreate ) {
443
			$this->setVar( '_CreateDBAccount', false );
444
			$create = false;
445
		} else {
446
			$create = $this->getVar( '_CreateDBAccount' );
447
		}
448
449
		if ( !$create ) {
450
			// Test the web account

includes/installer/MysqlInstaller.php 1 location

@@ 420-425 (lines=6) @@
417
418
		// Validate the create checkbox
419
		$canCreate = $this->canCreateAccounts();
420
		if ( !$canCreate ) {
421
			$this->setVar( '_CreateDBAccount', false );
422
			$create = false;
423
		} else {
424
			$create = $this->getVar( '_CreateDBAccount' );
425
		}
426
427
		if ( !$create ) {
428
			// Test the web account