Page 1 of 1

Pruning User Accounts

Posted: 24 Jan 2019, 21:27
by truefriend-cz
Hi any.

Do you can anybody test on your Mantis instalation feature functionality Pruning User Accounts?
I have problem. If click the Button for Pruning User Accounts then no deleting unused accounts.

PHP 7.1, Windows, MBT 2.19.0

Thanks

Re: Pruning User Accounts

Posted: 25 Jan 2019, 10:19
by cas
Pruning works perfectly fine on my instance however be aware of the conditions:
The pruning function allows deleting of user accounts for accounts that have been created more than a week ago, and they never logged in.

Re: Pruning User Accounts

Posted: 02 Feb 2019, 18:56
by truefriend-cz
Where or how i can change week time to zero? For Prunning now after click on button, and no after week for never logged in accounts.

I must change manage_user_prune.php (58):

Code: Select all

$t_days_old = (int)7 * SECONDS_PER_DAY;
to

Code: Select all

$t_days_old = (int)0 * SECONDS_PER_DAY;
only?

Re: Pruning User Accounts

Posted: 02 Feb 2019, 22:56
by cas
$t_days_old =0;
This you could have tested yourself with a test system. Quite useful for new users :mrgreen: