(Midgard 1.4.2 'Bifrost')
mgd_delete_group -- Delete a group
Description
bool mgd_delete_group
(int gid)
Minimum version: Midgard 1.1.1
Deletes the group record with id gid
Returns TRUE if successful. Returns FALSE on failure>
<?php
$grp = mgd_delete_group(6);
if(!$grp) {
echo "Deletion of group failed.<br>";
echo "reason: " . mgd_errstr();
}else{
echo "group deleted";
}
?>
|