Decorate deprecated functions with wfDeprecated()
authorBryan Davis <bd808@wikimedia.org>
Mon, 24 Nov 2014 23:41:10 +0000 (16:41 -0700)
committerBryan Davis <bd808@wikimedia.org>
Mon, 24 Nov 2014 23:41:10 +0000 (16:41 -0700)
Change-Id: Iaa7d11a9fdd1c68dc7ff1b3138fe8c9ba229cc69

includes/GlobalFunctions.php

index 25b352b..1a901f3 100644 (file)
@@ -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 );
 }