From 9be737caef5e4284215f8679342814befd897083 Mon Sep 17 00:00:00 2001 From: Bryan Davis Date: Mon, 24 Nov 2014 16:41:10 -0700 Subject: [PATCH] Decorate deprecated functions with wfDeprecated() Change-Id: Iaa7d11a9fdd1c68dc7ff1b3138fe8c9ba229cc69 --- includes/GlobalFunctions.php | 2 ++ 1 file changed, 2 insertions(+) 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 ); } -- 2.20.1