Page MenuHomePhabricator

Move RemoveUnusedAccount's isInactiveAccount() method to User.php and make it public
Open, MediumPublic


The isInactiveAccount() method should be more widely available.

Event Timeline

MarkAHershberger claimed this task.
MarkAHershberger raised the priority of this task from to Needs Triage.
MarkAHershberger updated the task description. (Show Details)
MarkAHershberger changed Security from none to None.

Change 180645 had a related patch set uploaded (by MarkAHershberger):
Move RemoveUnusedAccount's isInactiveAccount() and make it public.


Aklapper triaged this task as Medium priority.Dec 19 2014, 3:04 PM

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.

MarkAHershberger removed MarkAHershberger as the assignee of this task.May 20 2020, 6:44 PM