Chad has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/108743


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(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/CirrusSearch 
refs/changes/43/108743/1

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: newchange
Gerrit-Change-Id: Ib4c42171feabf34261434795c1b54171ac017f4d
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/CirrusSearch
Gerrit-Branch: master
Gerrit-Owner: Chad <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to