mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-05 02:41:14 -05:00
remove unused function
This commit is contained in:
@@ -51,16 +51,3 @@ def dao_get_all_free_sms_fragment_limit(service_id):
|
|||||||
return AnnualBilling.query.filter_by(
|
return AnnualBilling.query.filter_by(
|
||||||
service_id=service_id,
|
service_id=service_id,
|
||||||
).order_by(AnnualBilling.financial_year_start).all()
|
).order_by(AnnualBilling.financial_year_start).all()
|
||||||
|
|
||||||
|
|
||||||
def dao_insert_annual_billing_for_this_year(service, free_sms_fragment_limit):
|
|
||||||
"""
|
|
||||||
This method is called from create_service which is wrapped in a transaction.
|
|
||||||
"""
|
|
||||||
annual_billing = AnnualBilling(
|
|
||||||
free_sms_fragment_limit=free_sms_fragment_limit,
|
|
||||||
financial_year_start=get_current_financial_year_start_year(),
|
|
||||||
service=service,
|
|
||||||
)
|
|
||||||
|
|
||||||
db.session.add(annual_billing)
|
|
||||||
|
|||||||
Reference in New Issue
Block a user