From: Alexandre Emsenhuber Date: Sun, 11 Jul 2010 18:13:23 +0000 (+0000) Subject: removed PHP4-ism X-Git-Tag: 1.31.0-rc.0~36162 X-Git-Url: https://git.cyclocoop.org//%22?a=commitdiff_plain;h=4b507edd858b9190c7da80f80b2d003f00503da1;p=lhc%2Fweb%2Fwiklou.git removed PHP4-ism --- diff --git a/includes/Block.php b/includes/Block.php index f4e14b23e5..de01555549 100644 --- a/includes/Block.php +++ b/includes/Block.php @@ -161,7 +161,7 @@ class Block { wfDebug( "Block::load: '$address', '$user', $killExpired\n" ); $options = array(); - $db =& $this->getDBOptions( $options ); + $db = $this->getDBOptions( $options ); if ( 0 == $user && $address === '' ) { # Invalid user specification, not blocked @@ -299,7 +299,7 @@ class Block { $range = substr( $iaddr, 0, 4 ); $options = array(); - $db =& $this->getDBOptions( $options ); + $db = $this->getDBOptions( $options ); $conds = array( 'ipb_range_start' . $db->buildLike( $range, $db->anyString() ), "ipb_range_start <= '$iaddr'",