X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=includes%2FBlock.php;h=34b89e73a30f4396592001cfc271dc8a6f476ea7;hb=35970fb460060cab9a3984030241987a86146f09;hp=47ddc7d8f274f892882844b8060ef9cd26069db2;hpb=91d90c5b86aa39b3ab6fc41a3afa9f42fad2d34e;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/Block.php b/includes/Block.php index 47ddc7d8f2..34b89e73a3 100644 --- a/includes/Block.php +++ b/includes/Block.php @@ -683,7 +683,7 @@ class Block { if ( $ipblock ) { # Check if the block is an autoblock and would exceed the user block # if renewed. If so, do nothing, otherwise prolong the block time... - if ( $ipblock->mAuto && // @TODO: why not compare $ipblock->mExpiry? + if ( $ipblock->mAuto && // @todo Why not compare $ipblock->mExpiry? $this->mExpiry > Block::getAutoblockExpiry( $ipblock->mTimestamp ) ) { # Reset block timestamp to now and its expiry to @@ -809,7 +809,7 @@ class Block { } /** - * Get the IP address at the start of the range in Hex form + * Get the IP address at the end of the range in Hex form * @throws MWException * @return String IP in Hex form */ @@ -1092,7 +1092,7 @@ class Block { * @param Bool $isAnon Exclude anonymous-only blocks if false * @param Bool $fromMaster Whether to query the master or slave database * @return Array of Blocks - * @since 1.21 + * @since 1.22 */ public static function getBlocksForIPList( array $ipChain, $isAnon, $fromMaster = false ) { if ( !count( $ipChain ) ) {