From: Bryan Davis Date: Mon, 24 Nov 2014 23:41:10 +0000 (-0700) Subject: Decorate deprecated functions with wfDeprecated() X-Git-Tag: 1.31.0-rc.0~13186 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/ajouter.php?a=commitdiff_plain;h=9be737caef5e4284215f8679342814befd897083;p=lhc%2Fweb%2Fwiklou.git Decorate deprecated functions with wfDeprecated() Change-Id: Iaa7d11a9fdd1c68dc7ff1b3138fe8c9ba229cc69 --- diff --git a/includes/GlobalFunctions.php b/includes/GlobalFunctions.php index 25b352bdb4..1a901f3947 100644 --- a/includes/GlobalFunctions.php +++ b/includes/GlobalFunctions.php @@ -4104,6 +4104,7 @@ function wfGetIP() { * @return bool */ function wfIsTrustedProxy( $ip ) { + wfDeprecated( __METHOD__, '1.24' ); return IP::isTrustedProxy( $ip ); } @@ -4116,5 +4117,6 @@ function wfIsTrustedProxy( $ip ) { * @since 1.23 Supports CIDR ranges in $wgSquidServersNoPurge */ function wfIsConfiguredProxy( $ip ) { + wfDeprecated( __METHOD__, '1.24' ); return IP::isConfiguredProxy( $ip ); }