Southparkfan has uploaded a new change for review.

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

Change subject: Fix --delete option in checkLocalNames.php
......................................................................

Fix --delete option in checkLocalNames.php

Legoktm commited a similar change in I009e5110afe77904eda1c6f256b2561736f75761
but checkLocalNames.php had the same issue.

Change-Id: I4c578ef5a20b63fab1e3637401b776b15ec9652c
---
M maintenance/checkLocalNames.php
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/CentralAuth 
refs/changes/19/279719/1

diff --git a/maintenance/checkLocalNames.php b/maintenance/checkLocalNames.php
index 137beca..8a16443 100644
--- a/maintenance/checkLocalNames.php
+++ b/maintenance/checkLocalNames.php
@@ -28,7 +28,7 @@
                $centralMaster = CentralAuthUtils::getCentralDB();
                $centralSlave = CentralAuthUtils::getCentralSlaveDB();
 
-               if ( $this->getOption( 'delete', false ) === true ) {
+               if ( $this->getOption( 'delete', false ) !== false ) {
                        $this->dryrun = false;
                }
 

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I4c578ef5a20b63fab1e3637401b776b15ec9652c
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/CentralAuth
Gerrit-Branch: master
Gerrit-Owner: Southparkfan <[email protected]>

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

Reply via email to