80 throw new \Bitrix\Main\ArgumentNullException(
"siteId");
82 $result = new \Bitrix\Main\Entity\DeleteResult();
87 $connection = \Bitrix\Main\Application::getConnection();
88 $helper = $connection->getSqlHelper();
90 $tableName = static::getEntity()->getDBTableName();
92 $sql =
"DELETE FROM ".$tableName.
" WHERE SITE_ID = '".$helper->forSql($siteId).
"'";
93 $connection->queryExecute($sql);