MediaWiki
REL1_22
|
Maintenance script that removes unused user accounts from the database. More...
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) |
Maintenance script that removes unused user accounts from the database.
Definition at line 33 of file removeUnusedAccounts.php.
Reimplemented from Maintenance.
Definition at line 34 of file removeUnusedAccounts.php.
References Maintenance\addOption().
Reimplemented from Maintenance.
Definition at line 41 of file removeUnusedAccounts.php.
References $count, $dbr, $res, array(), as, Maintenance\error(), Maintenance\getOption(), Maintenance\hasOption(), isInactiveAccount(), User\newFromId(), Maintenance\output(), wfGetDB(), and wfTimestamp().
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)
$id | User's ID |
$master | bool Perform checking on the master |
Definition at line 103 of file removeUnusedAccounts.php.
References $count, array(), as, and wfGetDB().
Referenced by execute().