• Модуль: main
  • Путь к файлу: ~/bitrix/modules/main/classes/general/admin_notify.php
  • Класс: CAdminNotify
  • Вызов: CAdminNotify::Delete
static function Delete($ID)
{
	global $DB;
	$ID = (int)$ID;
	if ($ID <= 0)
	{
		return false;
	}

	$strSql = "DELETE FROM b_admin_notify_lang WHERE NOTIFY_ID = " . $ID;
	$DB->Query($strSql);

	$strSql = "DELETE FROM b_admin_notify WHERE ID = " . $ID;
	$DB->Query($strSql);

	self::CleanCache();
	return true;
}