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:
8f48f40
)
removed PHP4-ism
author
Alexandre Emsenhuber
<ialex@users.mediawiki.org>
Sun, 11 Jul 2010 18:13:23 +0000
(18:13 +0000)
committer
Alexandre Emsenhuber
<ialex@users.mediawiki.org>
Sun, 11 Jul 2010 18:13:23 +0000
(18:13 +0000)
includes/Block.php
patch
|
blob
|
history
diff --git
a/includes/Block.php
b/includes/Block.php
index
f4e14b2
..
de01555
100644
(file)
--- 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'",