From b74a36fce6d59226d5de5c81494013a5e1183b65 Mon Sep 17 00:00:00 2001 From: withoutaname Date: Sat, 26 Jul 2014 19:27:36 -0700 Subject: [PATCH] Documentation: Remove paragraph about not creating a 2nd WebRequest WebRequest is no longer required to be a singleton for $wgRequest, thanks to https://gerrit.wikimedia.org/r/144996 Change-Id: Ica629fd28d96f8ee77ee548b0a284abf24b1e780 --- includes/WebRequest.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/includes/WebRequest.php b/includes/WebRequest.php index a1fa0eb775..01cf33e85c 100644 --- a/includes/WebRequest.php +++ b/includes/WebRequest.php @@ -28,11 +28,6 @@ * URL or via a POSTed form stripping illegal input characters and * normalizing Unicode sequences. * - * Usually this is used via a global singleton, $wgRequest. You should - * not create a second WebRequest object; make a FauxRequest object if - * you want to pass arbitrary data to some function in place of the web - * input. - * * @ingroup HTTP */ class WebRequest { -- 2.20.1