From: withoutaname Date: Sun, 27 Jul 2014 02:27:36 +0000 (-0700) Subject: Documentation: Remove paragraph about not creating a 2nd WebRequest X-Git-Tag: 1.31.0-rc.0~8444^2 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_ecrire%28%22articles%22%2C%22id_article=%24ze_article%22%29%20.%20%22?a=commitdiff_plain;h=b74a36fce6d59226d5de5c81494013a5e1183b65;hp=ffe3e3ab1309e1b3bff5fec0fabeacd633975eb1;p=lhc%2Fweb%2Fwiklou.git 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 --- 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 {