Function deleteMembergroups
Delete one of more membergroups. Requires the manage_membergroups permission. Returns true on success or false on failure. Has protection against deletion of protected membergroups. Deletes the permissions linked to the membergroup. Takes members out of the deleted membergroups.
Package: SMF
Copyright: 2020 Simple Machines and individual contributors
License: BSD
Author: Simple Machines https://www.simplemachines.org
Located at Sources/Subs-Membergroups.php
Copyright: 2020 Simple Machines and individual contributors
License: BSD
Author: Simple Machines https://www.simplemachines.org
Located at Sources/Subs-Membergroups.php
integer|array |
$groups |
The ID of the group to delete or an array of IDs of groups to delete |
boolean|string
|
True for success, otherwise an identifier as to reason for failure |