MediaWiki  REL1_22
RemoveUnusedAccounts Class Reference

Maintenance script that removes unused user accounts from the database. More...

Inheritance diagram for RemoveUnusedAccounts:
Collaboration diagram for RemoveUnusedAccounts:

List of all members.

Public Member Functions

 __construct ()
 execute ()

Private Member Functions

 isInactiveAccount ($id, $master=false)
 Could the specified user account be deemed inactive? (No edits, no deleted edits, no log entries, no current/old uploads)

Detailed Description

Maintenance script that removes unused user accounts from the database.

Definition at line 33 of file removeUnusedAccounts.php.


Constructor & Destructor Documentation

Reimplemented from Maintenance.

Definition at line 34 of file removeUnusedAccounts.php.

References Maintenance\addOption().


Member Function Documentation

RemoveUnusedAccounts::isInactiveAccount ( id,
master = false 
) [private]

Could the specified user account be deemed inactive? (No edits, no deleted edits, no log entries, no current/old uploads)

Parameters:
$idUser's ID
$masterbool Perform checking on the master
Returns:
bool

Definition at line 103 of file removeUnusedAccounts.php.

References $count, array(), as, and wfGetDB().

Referenced by execute().


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