The isInactiveAccount() method should be more widely available.
Description
Description
Details
Details
Project | Branch | Lines +/- | Subject | |
---|---|---|---|---|
mediawiki/core | master | +38 -34 | Move RemoveUnusedAccount's isInactiveAccount() |
Event Timeline
Comment Actions
Change 180645 had a related patch set uploaded (by MarkAHershberger):
Move RemoveUnusedAccount's isInactiveAccount() and make it public.
Comment Actions
Use case: I have a wiki with SSO enabled so that user accounts are created when someone visits the wiki -- even if they don't contribute to the wiki. Periodically, I would like to remove users who have left the organisation if they haven't contributed to the wiki. This involves querying a user store to see if they've left the organisation, so removeUnusedAccounts.php doesn't work.