jenkins-bot has submitted this change and it was merged.
Change subject: Don't construct an object we aren't using
......................................................................
Don't construct an object we aren't using
Change-Id: Ib4c42171feabf34261434795c1b54171ac017f4d
---
M maintenance/forceSearchIndex.php
1 file changed, 0 insertions(+), 1 deletion(-)
Approvals:
Manybubbles: Looks good to me, approved
jenkins-bot: Verified
diff --git a/maintenance/forceSearchIndex.php b/maintenance/forceSearchIndex.php
index 5d4bb79..2f784ce 100644
--- a/maintenance/forceSearchIndex.php
+++ b/maintenance/forceSearchIndex.php
@@ -255,7 +255,6 @@
wfProfileIn( __METHOD__ );
$dbr = $this->getDB( DB_SLAVE );
$minId = $dbr->addQuotes( $minId );
- $search = new CirrusSearch();
if ( $maxUpdate === null ) {
$where = array( "$minId < page_id" );
if ( $this->toId !== null ) {
--
To view, visit https://gerrit.wikimedia.org/r/108743
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Ib4c42171feabf34261434795c1b54171ac017f4d
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/CirrusSearch
Gerrit-Branch: master
Gerrit-Owner: Chad <[email protected]>
Gerrit-Reviewer: Manybubbles <[email protected]>
Gerrit-Reviewer: jenkins-bot <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits