Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Split out common code for deleting users #69

Open
wens opened this issue Nov 7, 2019 · 0 comments
Open

Split out common code for deleting users #69

wens opened this issue Nov 7, 2019 · 0 comments
Labels

Comments

@wens
Copy link
Contributor

wens commented Nov 7, 2019

Currently there are at least two code paths that can delete users:

  1. When a new user registers, the register system will look for an empty slot, and if one cannot be found, it will proceed to "expire" an old user.
  2. The reaper tool under util, which "expires" users wholesale.

The user deletion code is written into these code paths, without any sharing. Over time, as the reaper tool didn't get much usage, the differences grew.

The idea is to move common code for user deletion under common/bbs.

@wens wens added the cleanup label Nov 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant