dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
260fc34
)
Decorate deprecated functions with wfDeprecated()
author
Bryan Davis
<bd808@wikimedia.org>
Mon, 24 Nov 2014 23:41:10 +0000
(16:41 -0700)
committer
Bryan Davis
<bd808@wikimedia.org>
Mon, 24 Nov 2014 23:41:10 +0000
(16:41 -0700)
Change-Id: Iaa7d11a9fdd1c68dc7ff1b3138fe8c9ba229cc69
includes/GlobalFunctions.php
patch
|
blob
|
history
diff --git
a/includes/GlobalFunctions.php
b/includes/GlobalFunctions.php
index
25b352b
..
1a901f3
100644
(file)
--- 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 );
}