Remove unused db.api.dnsdomain_list

The last use was removed in change
I4b682affbbe988638c0c834b12a121e6a871080a:

Update nova.network to use DNSDomain object

Change-Id: Ibe336eb29c8263765f79124175aac2029d0d68ce
This commit is contained in:
Matthew Booth 2014-11-13 11:34:27 +00:00
parent 1bfe845c40
commit a4e56524e4
2 changed files with 0 additions and 11 deletions

View File

@ -416,11 +416,6 @@ def floating_ip_update(context, address, values):
return IMPL.floating_ip_update(context, address, values)
def dnsdomain_list(context):
"""Get a list of all zones in our database, public and private."""
return IMPL.dnsdomain_list(context)
def dnsdomain_get_all(context):
"""Get a list of all dnsdomains in our database."""
return IMPL.dnsdomain_get_all(context)

View File

@ -1055,12 +1055,6 @@ def dnsdomain_unregister(context, fqdomain):
delete()
@require_context
def dnsdomain_list(context):
query = model_query(context, models.DNSDomain, read_deleted="no")
return [row.domain for row in query.all()]
def dnsdomain_get_all(context):
return model_query(context, models.DNSDomain, read_deleted="no").all()