[ Index ]

PHP Cross Reference of MediaWiki-1.24.0

title

Body

[close]

/maintenance/ -> removeUnusedAccounts.php (summary)

Remove unused user accounts from the database An unused account is one which has made no edits This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

Author: Rob Church <[email protected]>
File Size: 136 lines (5 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 1 file
 maintenance/Maintenance.php

Defines 1 class

RemoveUnusedAccounts:: (3 methods):
  __construct()
  execute()
  isInactiveAccount()


Class: RemoveUnusedAccounts  - X-Ref

Maintenance script that removes unused user accounts from the database.

__construct()   X-Ref
No description

execute()   X-Ref
No description

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

param: int $id User's ID
param: bool $master Perform checking on the master
return: bool



Generated: Fri Nov 28 14:03:12 2014 Cross-referenced by PHPXref 0.7.1