Index: trunk/phase3/includes/specials/SpecialPasswordReset.php |
— | — | @@ -152,7 +152,7 @@ |
153 | 153 | } |
154 | 154 | } |
155 | 155 | |
156 | | - global $wgServer, $wgScript, $wgNewPasswordExpiry; |
| 156 | + global $wgNewPasswordExpiry; |
157 | 157 | |
158 | 158 | // All the users will have the same email address |
159 | 159 | if ( $firstUser->getEmail() == '' ) { |
— | — | @@ -190,7 +190,7 @@ |
191 | 191 | $username, |
192 | 192 | $passwordBlock, |
193 | 193 | count( $passwords ), |
194 | | - $wgServer . $wgScript, |
| 194 | + Title::newMainPage()->getCanonicalUrl(), |
195 | 195 | round( $wgNewPasswordExpiry / 86400 ) |
196 | 196 | ); |
197 | 197 | |