Awight has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/329380 )

Change subject: DEPLOYMENT ONLY: Short-circuit everything to disable listeners, 
per T154209
......................................................................

DEPLOYMENT ONLY: Short-circuit everything to disable listeners, per T154209

Change-Id: I6dfb4682d4bad6b51ee41e799d8260fc501ca34a
---
M Core/Http/RequestHandler.php
1 file changed, 4 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/wikimedia/fundraising/SmashPig 
refs/changes/80/329380/1

diff --git a/Core/Http/RequestHandler.php b/Core/Http/RequestHandler.php
index 5036a69..f96efe2 100644
--- a/Core/Http/RequestHandler.php
+++ b/Core/Http/RequestHandler.php
@@ -23,6 +23,10 @@
                // Can go away once we require PHP 5.6
                ini_set( 'default_charset', 'UTF-8' );
 
+// FIXME: Remove once https://phabricator.wikimedia.org/T154209 is resolved.
+$response->setStatusCode( 403, "Cannot continue." );
+return $response;
+
                // --- Get the request and response objects
                $request = Request::createFromGlobals();
                $response = new Response();

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I6dfb4682d4bad6b51ee41e799d8260fc501ca34a
Gerrit-PatchSet: 1
Gerrit-Project: wikimedia/fundraising/SmashPig
Gerrit-Branch: deployment
Gerrit-Owner: Awight <awi...@wikimedia.org>

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

Reply via email to