From: Reedy Date: Tue, 24 Nov 2015 23:40:00 +0000 (+0000) Subject: Last 2 wfBaseConvert to Wikimedia\base_convert X-Git-Tag: 1.31.0-rc.0~8876 X-Git-Url: http://git.cyclocoop.org/%24image?a=commitdiff_plain;h=4c6de386bdd0629535e81c44cbb1dd7693d545aa;p=lhc%2Fweb%2Fwiklou.git Last 2 wfBaseConvert to Wikimedia\base_convert Change-Id: I0b6c1b87114925d17123e35cd5f98b9d05ff62b4 --- diff --git a/includes/Block.php b/includes/Block.php index b57b3e8b92..4729f50ced 100644 --- a/includes/Block.php +++ b/includes/Block.php @@ -308,8 +308,8 @@ class Block { if ( $block->getType() == self::TYPE_RANGE ) { # This is the number of bits that are allowed to vary in the block, give # or take some floating point errors - $end = wfBaseconvert( $block->getRangeEnd(), 16, 10 ); - $start = wfBaseconvert( $block->getRangeStart(), 16, 10 ); + $end = Wikimedia\base_convert( $block->getRangeEnd(), 16, 10 ); + $start = Wikimedia\base_convert( $block->getRangeStart(), 16, 10 ); $size = log( $end - $start + 1, 2 ); # This has the nice property that a /32 block is ranked equally with a