Inherits UnlistedSpecialPage.
Public Member Functions | |
| __construct () | |
| execute ($code) | |
| Default execute method Checks user permissions, calls the function given in mFunction. | |
| attemptInvalidate ($code) | |
| Attempt to invalidate the user's email address and show success or failure as needed; if successful, link to main page. | |
Definition at line 114 of file SpecialConfirmemail.php.
| EmailInvalidation::__construct | ( | ) |
Definition at line 116 of file SpecialConfirmemail.php.
| EmailInvalidation::attemptInvalidate | ( | $ | code | ) |
Attempt to invalidate the user's email address and show success or failure as needed; if successful, link to main page.
| $code | Confirmation code |
Definition at line 131 of file SpecialConfirmemail.php.
References $code, $user, $wgOut, $wgUser, and User::newFromConfirmationCode().
Referenced by execute().
| EmailInvalidation::execute | ( | $ | par | ) |
Default execute method Checks user permissions, calls the function given in mFunction.
This may be overridden by subclasses.
Reimplemented from SpecialPage.
Definition at line 120 of file SpecialConfirmemail.php.
References $code, attemptInvalidate(), and SpecialPage::setHeaders().
1.5.9