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:
114f8ed
)
Don't be lazy: Initialise autoblock objects with both the blocker ID and their name
author
Andrew Garrett
<werdna@users.mediawiki.org>
Fri, 27 Jun 2008 09:22:12 +0000
(09:22 +0000)
committer
Andrew Garrett
<werdna@users.mediawiki.org>
Fri, 27 Jun 2008 09:22:12 +0000
(09:22 +0000)
includes/Block.php
patch
|
blob
|
history
diff --git
a/includes/Block.php
b/includes/Block.php
index
b400912
..
b208fa8
100644
(file)
--- a/
includes/Block.php
+++ b/
includes/Block.php
@@
-532,6
+532,7
@@
class Block
$ipblock->mAddress = $autoblockip;
$ipblock->mUser = 0;
$ipblock->mBy = $this->mBy;
+ $ipblock->mByName = $this->mByName;
$ipblock->mReason = wfMsgForContent( 'autoblocker', $this->mAddress, $this->mReason );
$ipblock->mTimestamp = wfTimestampNow();
$ipblock->mAuto = 1;