From: Max Semenik Date: Tue, 24 Apr 2012 20:05:10 +0000 (+0400) Subject: Deprecate WebRequest::escapeAppendQuery() X-Git-Tag: 1.31.0-rc.0~23837^2 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/%7B%7B%20url_for%28%27admin_users%27%29%20%7D%7D?a=commitdiff_plain;h=40e35d5b32c25abf2545f0da3b80db1192000a8e;p=lhc%2Fweb%2Fwiklou.git Deprecate WebRequest::escapeAppendQuery() It is an ugly piece of UI-related code in an infrastructure class. Its only user, MobileFrontend, is currently in process of getting rid of it. Patchset 2: Fixed commit message Change-Id: I62f9f707532a95be01c1ecdcb1fbfbd0c4117be6 --- diff --git a/includes/WebRequest.php b/includes/WebRequest.php index 9d0e579a8b..39c1b1ba3c 100644 --- a/includes/WebRequest.php +++ b/includes/WebRequest.php @@ -671,6 +671,7 @@ class WebRequest { /** * HTML-safe version of appendQuery(). + * @deprecated: Deprecated in 1.20, warnings in 1.21, remove in 1.22. * * @param $query String: query string fragment; do not include initial '?' * @return String