Browse Source

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

master
Repellent 8 years ago
parent
commit
237091b0bc
  1. 13
      contactsnew/class.contactsnew.php

13
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 . "'
");
}
/**
* Сохранение статуса диалога
*/

Loading…
Cancel
Save