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:
f26f0a1
)
Follow-up r84588 CR
author
Happy-melon
<happy-melon@users.mediawiki.org>
Sun, 26 Jun 2011 23:10:57 +0000
(23:10 +0000)
committer
Happy-melon
<happy-melon@users.mediawiki.org>
Sun, 26 Jun 2011 23:10:57 +0000
(23:10 +0000)
includes/Block.php
patch
|
blob
|
history
diff --git
a/includes/Block.php
b/includes/Block.php
index
7911163
..
0b52d85
100644
(file)
--- a/
includes/Block.php
+++ b/
includes/Block.php
@@
-625,7
+625,7
@@
class Block {
$autoblock->prevents( 'editownusertalk', $this->prevents( 'editownusertalk' ) );
$dbr = wfGetDB( DB_SLAVE );
- if ( $this->m
Timestamp
== $dbr->getInfinity() ) {
+ if ( $this->m
Expiry
== $dbr->getInfinity() ) {
# Original block was indefinite, start an autoblock now
$autoblock->mExpiry = Block::getAutoblockExpiry( $timestamp );
} else {