r77617 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r77616
|
r77617
|
r77618
>
Date:
23:59, 2 December 2010
Author:
werdna
Status:
ok
Tags:
Comment:
Fix
r75759
: replace call to userNotPrivilegedMessage() with a call to OutputPage::permissionRequired().
Modified paths:
/trunk/phase3/includes/specials/SpecialUserlogin.php
(modified) (
history
)
Diff
[
purge
]
Index: trunk/phase3/includes/specials/SpecialUserlogin.php
—
—
@@ -290,7 +290,7 @@
291
291
292
292
# Check permissions
293
293
if ( !$wgUser->isAllowed( 'createaccount' ) ) {
294
- $this->userNotPrivilegedMessage( 'createaccount' );
294
+ $wgOut->permissionRequired( 'createaccount' );
295
295
return false;
296
296
} elseif ( $wgUser->isBlockedFromCreateAccount() ) {
297
297
$this->userBlockedMessage();
Follow-up revisions
Revision
Commit summary
Author
Date
r77618
Kill off userNotPrivilegedMessage, not used after
r77617
reedy
00:06, 3 December 2010
Past revisions this follows-up on
Revision
Commit summary
Author
Date
r75759
userNotPrivilegedMessage being called with no parameter. Guessing it needs to...
reedy
23:14, 31 October 2010
Status & tagging log
12:04, 3 December 2010
IAlex
(
talk
|
contribs
)
changed the
status
of r77617
[
removed:
new
added:
ok]