MediaWiki
REL1_19
|
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 139 of file SpecialConfirmemail.php.
Definition at line 141 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 161 of file SpecialConfirmemail.php.
References $user, SpecialPage\getOutput(), SpecialPage\getUser(), and User\newFromConfirmationCode().
Referenced by execute().
EmailInvalidation::execute | ( | $ | par | ) |
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
$par | String subpage string, if one was specified |
Reimplemented from SpecialPage.
Definition at line 145 of file SpecialConfirmemail.php.
References attemptInvalidate(), SpecialPage\setHeaders(), and wfReadOnly().