Code Duplication    Length = 8-8 lines in 3 locations

includes/installer/MssqlInstaller.php 1 location

@@ 477-484 (lines=8) @@
474
		return Status::newGood();
475
	}
476
477
	public function preInstall() {
478
		# Add our user callback to installSteps, right before the tables are created.
479
		$callback = [
480
			'name' => 'user',
481
			'callback' => [ $this, 'setupUser' ],
482
		];
483
		$this->parent->addInstallStep( $callback, 'tables' );
484
	}
485
486
	/**
487
	 * @return Status

includes/installer/MysqlInstaller.php 1 location

@@ 457-464 (lines=8) @@
454
		return Status::newGood();
455
	}
456
457
	public function preInstall() {
458
		# Add our user callback to installSteps, right before the tables are created.
459
		$callback = [
460
			'name' => 'user',
461
			'callback' => [ $this, 'setupUser' ],
462
		];
463
		$this->parent->addInstallStep( $callback, 'tables' );
464
	}
465
466
	/**
467
	 * @return Status

includes/installer/OracleInstaller.php 1 location

@@ 215-222 (lines=8) @@
212
		return $retVal;
213
	}
214
215
	public function preInstall() {
216
		# Add our user callback to installSteps, right before the tables are created.
217
		$callback = [
218
			'name' => 'user',
219
			'callback' => [ $this, 'setupUser' ]
220
		];
221
		$this->parent->addInstallStep( $callback, 'database' );
222
	}
223
224
	public function setupDatabase() {
225
		$status = Status::newGood();