mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-06 19:08:26 -04:00
remove unused fn
This commit is contained in:
@@ -219,23 +219,6 @@ class BroadcastAreasRepository(object):
|
|||||||
|
|
||||||
return areas
|
return areas
|
||||||
|
|
||||||
def get_all_groups_for_library(self, library_id):
|
|
||||||
q = """
|
|
||||||
SELECT id, name
|
|
||||||
FROM broadcast_areas
|
|
||||||
WHERE broadcast_area_library_group_id = NULL
|
|
||||||
AND broadcast_area_library_id = ?
|
|
||||||
"""
|
|
||||||
|
|
||||||
results = self.query(q, library_id)
|
|
||||||
|
|
||||||
areas = [
|
|
||||||
(row[0], row[1])
|
|
||||||
for row in results
|
|
||||||
]
|
|
||||||
|
|
||||||
return areas
|
|
||||||
|
|
||||||
def get_polygons_for_area(self, area_id):
|
def get_polygons_for_area(self, area_id):
|
||||||
q = """
|
q = """
|
||||||
SELECT polygons
|
SELECT polygons
|
||||||
|
|||||||
Reference in New Issue
Block a user