...Человеческий поиск в разработке...
- Модуль: crm
- Путь к файлу: ~/bitrix/modules/crm/classes/general/crm_role.php
- Класс: \CCrmRole
- Вызов: CCrmRole::Delete
public function Delete($ID) { $this->log('Delete', ['ID' => $ID]); global $DB; $ID = (int)$ID; $sSql = 'DELETE FROM b_crm_role_relation WHERE ROLE_ID = '.$ID; $DB->Query($sSql, false, 'FILE: '.__FILE__.'
LINE: '.__LINE__); $sSql = 'DELETE FROM b_crm_role_perms WHERE ROLE_ID = '.$ID; $DB->Query($sSql, false, 'FILE: '.__FILE__.'
LINE: '.__LINE__); $sSql = 'DELETE FROM b_crm_role WHERE ID = '.$ID; $DB->Query($sSql, false, 'FILE: '.__FILE__.'
LINE: '.__LINE__); self::ClearCache(); }