mixed CGroup::Delete( int id )
The method Delete removes group. Returns an instance of CDBResult on success, or false otherwise.
Parameter | Description |
---|---|
id | Group ID. |
<? if(IntVal($del_id)>2) { $del_id = IntVal($del_id); $group = new CGroup; $DB->StartTransaction(); if(!$group->Delete($del_id)) { $DB->Rollback(); $strError.=GetMessage("DELETE_ERROR"); } $DB->Commit(); } ?>
© 2001-2005 Bitrix | Bitrix Site Manager - Content Management & Portal Solutions |