Page MenuHomePhabricator

7031a.patch

Authored By
bzimport
Nov 21 2014, 9:23 PM
Size
444 B
Referenced Files
None
Subscribers
None

7031a.patch

Index: includes/SpecialUserlogin.php
===================================================================
--- includes/SpecialUserlogin.php (revision 16097)
+++ includes/SpecialUserlogin.php (working copy)
@@ -413,7 +413,7 @@
global $wgServer, $wgScript;
if ( '' == $u->getEmail() ) {
- return wfMsg( 'noemail', $u->getName() );
+ return new WikiError( wfMsg( 'noemail', $u->getName() ) );
}
$np = $u->randomPassword();

File Metadata

Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2747
Default Alt Text
7031a.patch (444 B)

Event Timeline