|
9.
|
|
|
delete all groups that have no members, e.g. after users were deleted;
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/administration/cli.rst:29
|
|
10.
|
|
|
and delete all groups that have only site administrators as members;
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/administration/cli.rst:38
|
|
11.
|
|
|
and / or delete only groups associated with a certain institution.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/administration/cli.rst:39
|
|
12.
|
|
|
Execute the script with the following command. A dry run is made by default so that no data is deleted by accident.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/administration/cli.rst:41
../source/administration/cli.rst:64
../source/administration/cli.rst:90
|
|
13.
|
|
|
``sudo -u www-data php htdocs/admin/cli/delete_inactive_groups.php``
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/administration/cli.rst:43
|
|
14.
|
|
|
Delete certain users in bulk
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/administration/cli.rst:43
|
|
15.
|
|
|
If you want to delete users in bulk from the site without needing to go to the administration screen, especially if you have more than 500 users to delete, you can use CLI. This script allows you to do the following:
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/administration/cli.rst:45
|
|
16.
|
|
|
delete all users that have never logged in, i.e. that were created manually, via CSV file, or an automated process;
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/administration/cli.rst:47
|
|
17.
|
|
|
and / or delete all users that have not logged in since a certain date;
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/administration/cli.rst:48
|
|
18.
|
|
|
and / or delete only those users from a specific institution;
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/administration/cli.rst:49
|