mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-22 00:11:16 -05:00
Remove unused methods
This commit is contained in:
@@ -25,16 +25,6 @@ def dao_get_reply_to_by_id(service_id, reply_to_id):
|
|||||||
return reply_to
|
return reply_to
|
||||||
|
|
||||||
|
|
||||||
@transactional
|
|
||||||
def dao_create_reply_to_email_address(reply_to_email):
|
|
||||||
db.session.add(reply_to_email)
|
|
||||||
|
|
||||||
|
|
||||||
@transactional
|
|
||||||
def dao_update_reply_to_email(reply_to):
|
|
||||||
db.session.add(reply_to)
|
|
||||||
|
|
||||||
|
|
||||||
@transactional
|
@transactional
|
||||||
def add_reply_to_email_address_for_service(service_id, email_address, is_default):
|
def add_reply_to_email_address_for_service(service_id, email_address, is_default):
|
||||||
old_default = _get_existing_default(service_id)
|
old_default = _get_existing_default(service_id)
|
||||||
|
|||||||
@@ -29,16 +29,6 @@ def dao_get_letter_contact_by_id(service_id, letter_contact_id):
|
|||||||
return letter_contact
|
return letter_contact
|
||||||
|
|
||||||
|
|
||||||
@transactional
|
|
||||||
def dao_create_letter_contact(letter_contact):
|
|
||||||
db.session.add(letter_contact)
|
|
||||||
|
|
||||||
|
|
||||||
@transactional
|
|
||||||
def dao_update_letter_contact(letter_contact):
|
|
||||||
db.session.add(letter_contact)
|
|
||||||
|
|
||||||
|
|
||||||
@transactional
|
@transactional
|
||||||
def add_letter_contact_for_service(service_id, contact_block, is_default):
|
def add_letter_contact_for_service(service_id, contact_block, is_default):
|
||||||
old_default = _get_existing_default(service_id)
|
old_default = _get_existing_default(service_id)
|
||||||
|
|||||||
Reference in New Issue
Block a user