I complained about this in gerrit but looks like my
comment was not saved
Change-Id: Ie570bdaf89e93628de730102587064ee0495fb1b
// started and comitted.
wfWarn( "$fname: Transaction already in progress (from {$this->mTrxFname}), " .
" performing implicit commit!" );
- } else {
- if ( $wgDebugDBTransactions ) {
- wfDebug( "$fname: Transaction already in progress (from {$this->mTrxFname}), " .
- " performing implicit commit!\n" );
- }
+ } elseif ( $wgDebugDBTransactions ) {
+ wfDebug( "$fname: Transaction already in progress (from {$this->mTrxFname}), " .
+ " performing implicit commit!\n" );
}
$this->doCommit( $fname );