Files
UNIT3D-Community-Edition/config/pruning.php
HDVinnie 9f830e186f (Update) Commands
- schedule new commands
- set pruning system to off by default
- check if system is on or off in command
2018-10-15 09:45:12 -04:00

29 lines
924 B
PHP

<?php
/**
* NOTICE OF LICENSE
*
* UNIT3D is open-sourced software licensed under the GNU General Public License v3.0
* The details is bundled with this project in the file LICENSE.txt.
*
* @project UNIT3D
* @license https://www.gnu.org/licenses/agpl-3.0.en.html/ GNU Affero General Public License v3.0
* @author HDVinnie
*/
return [
/*
|--------------------------------------------------------------------------
| User Pruning
|--------------------------------------------------------------------------
| Users Account Must Be Atleast x Days Old
| Users Last Login Atleast x Days Ago
| Soft Delete Disabled Users After x Days (Pruned Group)
| Groups That Can Be Auto Disabled [DEFAULT] (User, PowerUser, SuperUser, Leech)
*/
'user_pruning' => false,
'account_age' => 90,
'last_login' => 90,
'soft_delete' => 120,
'group_ids' => [3, 11, 12, 15],
];