jenkins-bot has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/387514 )

Change subject: Fix for 8d50a52d4457
......................................................................


Fix for 8d50a52d4457

Change-Id: Ia6bedd35413a60930e36a08e953179058373d372
---
M specials/CargoRecreateData.php
1 file changed, 1 insertion(+), 1 deletion(-)

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



diff --git a/specials/CargoRecreateData.php b/specials/CargoRecreateData.php
index 5b4d7b1..51a3bae 100644
--- a/specials/CargoRecreateData.php
+++ b/specials/CargoRecreateData.php
@@ -103,7 +103,7 @@
                        // Possibly disable checkbox, to avoid problems if the
                        // DB hasn't been updated for version 1.5.
                        $indexExists = $dbw->indexExists( 'cargo_tables', 
'cargo_tables_template_id' );
-                       if ( !$indexExists ) {
+                       if ( $indexExists ) {
                                $text .= '<p><em>The checkbox intended to go 
here is temporarily disabled; please run <tt>update.php</tt> to see 
it.</em></p>';
                        } else {
                                $text .= Html::rawElement( 'p', null, 
Html::check( 'createReplacement', true, array( 'id' => 'createReplacement' ) ) .

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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ia6bedd35413a60930e36a08e953179058373d372
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/Cargo
Gerrit-Branch: master
Gerrit-Owner: Yaron Koren <yaro...@gmail.com>
Gerrit-Reviewer: Yaron Koren <yaro...@gmail.com>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to