Topic on User talk:Aaron Schulz

Jump to navigation Jump to search

ConfirmAccount: Prune on every rejection?

3
Johnywhy (talkcontribs)

Hi Aaron,

thx for ConfirmAccount.


Issue 1: after Admin rejects an account request, the same username/email cannot submit another request., until next prune.

If i want to prune after every rejection, i would call runAutoMaintenance, correct?

Where's the best place to put the call? Can you share a code-snippet?


Issue 2: i refreshed the following 2 pages, 30 times each. Shouldn't that trigger a prune? But, users still cannot submit another request.

https://gunsense.xyz/index.php/Special:ConfirmAccounts

https://gunsense.xyz/index.php?title=Special:ConfirmAccounts/authors&wpShowHeld=0


Topic on SupportDesk:

Topic:U9p93xb6ltaocfr1

Thx! Johny

Johnywhy (talkcontribs)

I think the call to runAutoMaintenance should be placed in function rejectRequest, in file \extensions\ConfirmAccount\business\AccountConfirmSubmission.php

Specifically, i think it can go directly under:

# Clear cache for notice of how many account requests there are
ConfirmAccount::clearAccountRequestCountCache();
Johnywhy (talkcontribs)
Reply to "ConfirmAccount: Prune on every rejection?"