MaxSem has uploaded a new change for review.

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


Change subject: Fix variable overwrite
......................................................................

Fix variable overwrite

Change-Id: Ib15759b0733ea7230b3dc0f3555e88272ac83201
---
M solrupdate.php
1 file changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/GeoData 
refs/changes/60/73360/1

diff --git a/solrupdate.php b/solrupdate.php
index 389e39f..7ffe779 100644
--- a/solrupdate.php
+++ b/solrupdate.php
@@ -172,8 +172,8 @@
                                        if ( $wgGeoDataSolrCommitPolicy === 
'immediate' ) {
                                                $update->addCommit();
                                        }
-                                       $res = $solr->update( $update );
-                                       wfDebugLog( 'geodata', "Deleting " . 
count( $killedIds ) . " docs, response: {$res->getResponse()->getBody()}" );
+                                       $solrResult = $solr->update( $update );
+                                       wfDebugLog( 'geodata', "Deleting " . 
count( $killedIds ) . " docs, response: 
{$solrResult->getResponse()->getBody()}" );
 
                                        $count += count( $killedIds );
                                        $this->output( "   $count\n" );

-- 
To view, visit https://gerrit.wikimedia.org/r/73360
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib15759b0733ea7230b3dc0f3555e88272ac83201
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/GeoData
Gerrit-Branch: master
Gerrit-Owner: MaxSem <[email protected]>

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

Reply via email to