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:
1116a5f
)
Fix autoblocks in r92480 r92482 -- modified the wrong half
author
Andrew Garrett
<werdna@users.mediawiki.org>
Mon, 18 Jul 2011 22:02:11 +0000
(22:02 +0000)
committer
Andrew Garrett
<werdna@users.mediawiki.org>
Mon, 18 Jul 2011 22:02:11 +0000
(22:02 +0000)
includes/Block.php
patch
|
blob
|
history
diff --git
a/includes/Block.php
b/includes/Block.php
index
1e535d8
..
a59d935
100644
(file)
--- a/
includes/Block.php
+++ b/
includes/Block.php
@@
-644,7
+644,7
@@
class Block {
$autoblock->prevents( 'editownusertalk', $this->prevents( 'editownusertalk' ) );
$dbr = wfGetDB( DB_SLAVE );
- if ( $t
imestamp
== 'infinity' ) {
+ if ( $t
his->mExpiry
== 'infinity' ) {
# Original block was indefinite, start an autoblock now
$autoblock->mExpiry = Block::getAutoblockExpiry( $timestamp );
} else {