r61635 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r61634‎ | r61635 | r61636 >
Date:14:31, 28 January 2010
Author:demon
Status:deferred
Tags:
Comment:
Remove read-only check, not needed for a read-only page ;-)
Modified paths:
  • /trunk/extensions/LastUserLogin/LastUserLogin_body.php (modified) (history)

Diff [purge]

Index: trunk/extensions/LastUserLogin/LastUserLogin_body.php
@@ -24,12 +24,6 @@
2525 return;
2626 }
2727
28 - # Show a message if the database is in read-only mode
29 - if ( wfReadOnly() ) {
30 - $wgOut->readOnlyPage();
31 - return;
32 - }
33 -
3428 # If the user doesn't have the required 'lastlogin' permission, display an error
3529 if ( !$wgUser->isAllowed( 'lastlogin' ) ) {
3630 $wgOut->permissionRequired( 'lastlogin' );

Status & tagging log