jenkins-bot has submitted this change and it was merged.
Change subject: Avoid using DB avoidErrors() method
......................................................................
Avoid using DB avoidErrors() method
Change-Id: Iea0526714a941fea2f5b1c25b24da12167420c6e
---
M includes/specials/SpecialUploads.php
1 file changed, 0 insertions(+), 1 deletion(-)
Approvals:
Jdlrobson: Looks good to me, approved
jenkins-bot: Verified
diff --git a/includes/specials/SpecialUploads.php
b/includes/specials/SpecialUploads.php
index fdb0970..f64eaf2 100644
--- a/includes/specials/SpecialUploads.php
+++ b/includes/specials/SpecialUploads.php
@@ -81,7 +81,6 @@
}
$limit = $this->getUploadCountThreshold() + 1;
- $dbr->ignoreErrors( true );
// not using SQL's count(*) because it's more expensive with
big number of rows
$res = $dbr->select(
'image',
--
To view, visit https://gerrit.wikimedia.org/r/86995
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Iea0526714a941fea2f5b1c25b24da12167420c6e
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/MobileFrontend
Gerrit-Branch: master
Gerrit-Owner: Aaron Schulz <[email protected]>
Gerrit-Reviewer: Jdlrobson <[email protected]>
Gerrit-Reviewer: MaxSem <[email protected]>
Gerrit-Reviewer: jenkins-bot
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits