MediaWiki
REL1_22
|
Special page allows users to cancel an email confirmation using the e-mail confirmation code. More...
Public Member Functions | |
__construct () | |
attemptInvalidate ($code) | |
Attempt to invalidate the user's email address and show success or failure as needed; if successful, link to main page. | |
execute ($code) | |
Default execute method Checks user permissions, calls the function given in mFunction. |
Special page allows users to cancel an email confirmation using the e-mail confirmation code.
Definition at line 157 of file SpecialConfirmemail.php.
Definition at line 158 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.
string | $code | Confirmation code |
Definition at line 175 of file SpecialConfirmemail.php.
References $user, SpecialPage\getOutput(), SpecialPage\getUser(), and User\newFromConfirmationCode().
Referenced by execute().
EmailInvalidation::execute | ( | $ | subPage | ) |
Default execute method Checks user permissions, calls the function given in mFunction.
This must be overridden by subclasses; it will be made abstract in a future version
$subPage | string|null |
Reimplemented from SpecialPage.
Definition at line 162 of file SpecialConfirmemail.php.
References attemptInvalidate(), SpecialPage\checkPermissions(), SpecialPage\checkReadOnly(), and SpecialPage\setHeaders().