Aaron Schulz has uploaded a new change for review.
https://gerrit.wikimedia.org/r/175036
Change subject: Removed unused $trx variable
......................................................................
Removed unused $trx variable
Change-Id: Ie4bc7c32c09f80dccf45946569cbc1ec5f136bdb
---
M includes/db/Database.php
1 file changed, 0 insertions(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core
refs/changes/36/175036/1
diff --git a/includes/db/Database.php b/includes/db/Database.php
index aa0e4de..a549c01 100644
--- a/includes/db/Database.php
+++ b/includes/db/Database.php
@@ -975,7 +975,6 @@
# Include query transaction state
$queryProf .= $this->mTrxShortId ? "
[TRX#{$this->mTrxShortId}]" : "";
- $trx = $this->mTrxLevel ? 'TRX=yes' : 'TRX=no';
wfProfileIn( $totalProf );
wfProfileIn( $queryProf );
}
--
To view, visit https://gerrit.wikimedia.org/r/175036
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie4bc7c32c09f80dccf45946569cbc1ec5f136bdb
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Aaron Schulz <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits