dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Rename IP::isValidBlock to isValidRange, deprecating the former
[lhc/web/wiklou.git]
/
includes
/
Block.php
diff --git
a/includes/Block.php
b/includes/Block.php
index
5066038
..
05e97b9
100644
(file)
--- a/
includes/Block.php
+++ b/
includes/Block.php
@@
-1354,7
+1354,7
@@
class Block {
self::TYPE_IP
];
- } elseif ( IP::isValid
Block
( $target ) ) {
+ } elseif ( IP::isValid
Range
( $target ) ) {
# Can't create a User from an IP range
return [ IP::sanitizeRange( $target ), self::TYPE_RANGE ];
}