BryanDavis has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/175602

Change subject: Decorate deprecated functions with wfDeprecated()
......................................................................

Decorate deprecated functions with wfDeprecated()

Change-Id: Iaa7d11a9fdd1c68dc7ff1b3138fe8c9ba229cc69
---
M includes/GlobalFunctions.php
1 file changed, 2 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/02/175602/1

diff --git a/includes/GlobalFunctions.php b/includes/GlobalFunctions.php
index 25b352b..1a901f3 100644
--- a/includes/GlobalFunctions.php
+++ b/includes/GlobalFunctions.php
@@ -4104,6 +4104,7 @@
  * @return bool
  */
 function wfIsTrustedProxy( $ip ) {
+       wfDeprecated( __METHOD__, '1.24' );
        return IP::isTrustedProxy( $ip );
 }
 
@@ -4116,5 +4117,6 @@
  * @since 1.23 Supports CIDR ranges in $wgSquidServersNoPurge
  */
 function wfIsConfiguredProxy( $ip ) {
+       wfDeprecated( __METHOD__, '1.24' );
        return IP::isConfiguredProxy( $ip );
 }

-- 
To view, visit https://gerrit.wikimedia.org/r/175602
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Iaa7d11a9fdd1c68dc7ff1b3138fe8c9ba229cc69
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: BryanDavis <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to