Add function to retrieve survey configurations from DB.

As the survey definitions will no longer be stored in files
under etc/surveys/ but directly on the database, this
function replaces configuration.surveys()
This commit is contained in:
D. Berge
2023-08-30 14:19:56 +02:00
parent 25ab623328
commit c99a625b60
8 changed files with 45 additions and 35 deletions

View File

@@ -55,6 +55,10 @@ def files (globspec = None, include_archived = False):
quickly and temporarily “disabling” a survey configuration by renaming
the relevant file.
"""
print("This method is obsolete")
return
tuples = []
if globspec is None: