diff --git a/contactsnew/class.contactsnew.php b/contactsnew/class.contactsnew.php index a92a1f9..ed91ecc 100644 --- a/contactsnew/class.contactsnew.php +++ b/contactsnew/class.contactsnew.php @@ -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 . "' + "); + } + /** * Сохранение статуса диалога */