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