attach($this, array('NOTIFY_ORDER_INVOICE_CONTENT_READY_TO_SEND')); } function update(&$class, $eventID, $paramArray) { global $db; if(isset($_SESSION['address_new']) && $_SESSION['address_new'] != 0) { $db->Execute('DELETE FROM '.TABLE_ADDRESS_BOOK.' WHERE customers_id="'.$_SESSION['customer_id'].'" AND address_book_id="'.$_SESSION['address_new'].'"'); unset($_SESSION['address_new']); } } }