Code Duplication    Length = 5-5 lines in 2 locations

includes/db/Database.php 2 locations

@@ 2657-2661 (lines=5) @@
2654
			$this->runOnTransactionPreCommitCallbacks();
2655
			$writeTime = $this->pendingWriteQueryDuration();
2656
			$this->doCommit( $fname );
2657
			if ( $this->mTrxDoneWrites ) {
2658
				$this->mDoneWrites = microtime( true );
2659
				$this->getTransactionProfiler()->transactionWritingOut(
2660
					$this->mServer, $this->mDBname, $this->mTrxShortId, $writeTime );
2661
			}
2662
2663
			$this->runOnTransactionIdleCallbacks( self::TRIGGER_COMMIT );
2664
		}
@@ 2731-2735 (lines=5) @@
2728
		$this->runOnTransactionPreCommitCallbacks();
2729
		$writeTime = $this->pendingWriteQueryDuration();
2730
		$this->doCommit( $fname );
2731
		if ( $this->mTrxDoneWrites ) {
2732
			$this->mDoneWrites = microtime( true );
2733
			$this->getTransactionProfiler()->transactionWritingOut(
2734
				$this->mServer, $this->mDBname, $this->mTrxShortId, $writeTime );
2735
		}
2736
2737
		$this->runOnTransactionIdleCallbacks( self::TRIGGER_COMMIT );
2738
	}