MediaWiki
REL1_22
|
Maintenance script to reset the user_token for all users on the wiki. More...
Public Member Functions | |
__construct () | |
execute () | |
Private Member Functions | |
updateUser ($userid) |
Maintenance script to reset the user_token for all users on the wiki.
Definition at line 34 of file resetUserTokens.php.
Reimplemented from Maintenance.
Definition at line 35 of file resetUserTokens.php.
References Maintenance\addOption(), and Maintenance\setBatchSize().
Reimplemented from Maintenance.
Definition at line 43 of file resetUserTokens.php.
References $dbr, $result, $user, array(), as, Maintenance\getOption(), Maintenance\output(), updateUser(), wfCountDown(), wfGetDB(), and wfWaitForSlaves().
ResetUserTokens::updateUser | ( | $ | userid | ) | [private] |
Definition at line 98 of file resetUserTokens.php.
References $user, User\newFromId(), and Maintenance\output().
Referenced by execute().