about summary refs log tree commit diff
path: root/gn3/db
diff options
context:
space:
mode:
Diffstat (limited to 'gn3/db')
-rw-r--r--gn3/db/case_attributes.py10
1 files changed, 0 insertions, 10 deletions
diff --git a/gn3/db/case_attributes.py b/gn3/db/case_attributes.py
index dc8833b..6bb8b4b 100644
--- a/gn3/db/case_attributes.py
+++ b/gn3/db/case_attributes.py
@@ -79,16 +79,6 @@ def queue_edit(cursor, directory: Path, edit: CaseAttributeEdit) -> int:
         return review_ids
 
 
-def get_unreviewed_diffs(conn: Any) -> Optional[tuple]:
-    """Fetch all case attributes in GN"""
-    with conn.cursor() as cursor:
-        cursor.execute(
-            "SELECT id, editor, json_diff_data FROM "
-            "caseattributes_audit WHERE status = 'review'"
-        )
-        return cursor.fetchall()
-
-
 def insert_case_attribute_audit(
     conn: Any, status: str, author: str, data: str
 ) -> int: