Merge "Remove unused db.api.dnsdomain_list"

This commit is contained in:
Jenkins 2014-12-23 06:20:53 +00:00 committed by Gerrit Code Review
commit b36fa81a75
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()