Добавлена функция email_del (удаление e-mail)

This commit is contained in:
Repellent 2016-09-18 19:51:29 +03:00
parent 35dbd558fe
commit 237091b0bc

View File

@ -1266,6 +1266,19 @@ class ContactsNew
$AVE_Template->assign('content', $AVE_Template->fetch($this->tpl_dir . 'history.tpl'));
}
/**
* Удаление выбранного e-mail
*/
function email_del ($hid)
{
global $AVE_DB, $AVE_Template;
$AVE_DB->Query("
DELETE FROM " . PREFIX . "_module_contactsnew_history
WHERE id = '" . $hid . "'
");
}
/**
* Сохранение статуса диалога
*/