MediaWiki  REL1_22
ConvertUserOptions Class Reference

Maintenance script to convert user options to the new `user_properties` table. More...

Inheritance diagram for ConvertUserOptions:
Collaboration diagram for ConvertUserOptions:

List of all members.

Public Member Functions

 __construct ()
 convertOptionBatch ($res, $dbw)
 execute ()

Private Attributes

 $mConversionCount = 0

Detailed Description

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.


Constructor & Destructor Documentation

Reimplemented from Maintenance.

Definition at line 37 of file convertUserOptions.php.


Member Function Documentation

Parameters:
$res
$dbwDatabaseBase
Returns:
null|int

Definition at line 75 of file convertUserOptions.php.

References $res, array(), as, and User\newFromRow().

Referenced by execute().


Member Data Documentation

ConvertUserOptions::$mConversionCount = 0 [private]

Definition at line 35 of file convertUserOptions.php.


The documentation for this class was generated from the following file: