jenkins-bot has submitted this change and it was merged.

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


Fix variable overwrite

Bug: 51207

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

Approvals:
  Reedy: Looks good to me, approved
  jenkins-bot: Verified



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: merged
Gerrit-Change-Id: Ib15759b0733ea7230b3dc0f3555e88272ac83201
Gerrit-PatchSet: 3
Gerrit-Project: mediawiki/extensions/GeoData
Gerrit-Branch: master
Gerrit-Owner: MaxSem <[email protected]>
Gerrit-Reviewer: Reedy <[email protected]>
Gerrit-Reviewer: jenkins-bot

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

Reply via email to