mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-09-02 11:18:56 +00:00
Add option to disable purging of inactive user accounts
This commit is contained in:
@@ -30,7 +30,9 @@ class Kernel extends ConsoleKernel
|
||||
$schedule->exec('php '.base_path().'/misc/testing/DB/checkUsers.php')->twiceDaily(1, 13);
|
||||
$schedule->command('telescope:prune')->daily();
|
||||
$schedule->command('horizon:snapshot')->everyFiveMinutes();
|
||||
$schedule->job(new RemoveInactiveAccounts())->daily();
|
||||
if (config('nntmux.purge_inactive_users') === true) {
|
||||
$schedule->job(new RemoveInactiveAccounts())->daily();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user