r37364 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r37363
|
r37364
|
r37365
>
Date:
03:09, 9 July 2008
Author:
werdna
Status:
old
Tags:
Comment:
Take over accounts which already exist, so we're not giving random people admin access.
Modified paths:
/trunk/extensions/AbuseFilter/install.php
(modified) (
history
)
Diff
[
purge
]
Index: trunk/extensions/AbuseFilter/install.php
—
—
@@ -17,6 +17,10 @@
18
18
if (!$user->getId()) {
19
19
$user->addToDatabase();
20
20
$user->saveSettings();
21
+} else {
22
+ // Sorry dude, we need this account.
23
+ $user->setPassword( null );
24
+ $user->saveSettings();
21
25
}
22
26
23
27
# Promote user so it doesn't look too crazy.
Status & tagging log
15:28, 12 September 2011
Meno25
(
talk
|
contribs
)
changed the
status
of r37364
[
removed:
ok
added:
old]