-
FAQ
- Forum Search
- Community
- Online Manual
- Support Helpers of the Month
- Function Database
deleteMembergroups
Description
Deletes one or more membergroups.
Syntax
bool deleteMembergroups (mixed $groups)
Parameter $groups
Expected type: Mixed
Description: The IDs of one or more groups that should be deleted
Return value
Expected type: Boolean
Description: True if the groups were successfully deleted. False otherwise
Notes
- Requires the manage_membergroups permission.
- Returns true on success or false on failure.
- Has protection against deletion of protected membergroups (Unregistered Guests, Regular Members, Administrator, Moderator and Newbie)
- Deletes the permissions linked to the membergroup.
- Takes members out of the deleted membergroups.
Advertisement:- Help | Terms and Rules | Go Up ▲
- Copyright © 2022 Simple Machines. All Rights Reserved.
- Page created in 0.126 seconds with 16 queries.
- Forum Search