function action_Remove() { PermissionHelper::Verification('Editor'); $group_id = $_GET['id']; $group = AttributeGroupService::GetById($group_id); AttributeGroupService::Delete($group); header("Location: /AttributeGroup/item"); }
public function action_RemoveGroup() { PermissionHelper::Verification('Editor'); $id = $_GET['id']; $attributeGroup = AttributeGroupService::GetById($id); AttributeGroupService::Delete($attributeGroup); header("Location: /Attribute/ItemGroup"); }