MediaWiki
REL1_22
|
Maintenance script to convert user options to the new `user_properties` table. More...
Public Member Functions | |
__construct () | |
convertOptionBatch ($res, $dbw) | |
execute () | |
Private Attributes | |
$mConversionCount = 0 |
Maintenance script to convert user options to the new `user_properties` table.
Do each user sequentially, since accounts can't be deleted
Definition at line 33 of file convertUserOptions.php.
Reimplemented from Maintenance.
Definition at line 37 of file convertUserOptions.php.
ConvertUserOptions::convertOptionBatch | ( | $ | res, |
$ | dbw | ||
) |
$res | |
$dbw | DatabaseBase |
Definition at line 75 of file convertUserOptions.php.
References $res, array(), as, and User\newFromRow().
Referenced by execute().
Reimplemented from Maintenance.
Definition at line 42 of file convertUserOptions.php.
References $res, array(), convertOptionBatch(), Maintenance\output(), wfGetDB(), and wfWaitForSlaves().
ConvertUserOptions::$mConversionCount = 0 [private] |
Definition at line 35 of file convertUserOptions.php.