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

Change subject: Globals are global
......................................................................


Globals are global

Change-Id: I6c0e5b646065c6c090cb4ba6b31336ddf50a34b2
---
M wmf-config/CommonSettings.php
1 file changed, 2 insertions(+), 0 deletions(-)

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



diff --git a/wmf-config/CommonSettings.php b/wmf-config/CommonSettings.php
index fcef4e7..15026e7 100644
--- a/wmf-config/CommonSettings.php
+++ b/wmf-config/CommonSettings.php
@@ -1113,6 +1113,8 @@
 // Disable redirects to HTTPS for clients in some countries
 $wgHooks['CanIPUseHTTPS'][] = 'wmfCanIPUseHTTPS';
 function wmfCanIPUseHTTPS( $ip, &$canDo ) {
+       global $wmgHTTPSBlacklistCountries;
+
        if ( !function_exists( 'geoip_country_code_by_name' ) ) {
                return true;
        }

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I6c0e5b646065c6c090cb4ba6b31336ddf50a34b2
Gerrit-PatchSet: 1
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: Demon <[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