'Active' list status in the database equals 'public'? Suitable alternative?

@duncanc @michiel In the phpList database, list privacy settings (e.g. whether the list is public, and stated as such on /lists/admin/?page=list) seem to be stored in the ā€˜activeā€™ column of the phplist_lists table. Questions:

  1. Is this the only use of that data (does it have any other purpose)?
  2. Is ā€˜visibleā€™ a reasonable alias for ā€˜activeā€™?

This question has arisen in the course of phpList 4 development, and specifically handling which lists should be returned via the API when a list of all available lists are requested.

Yes, itā€™s a bad naming issue. The active column used to mean something else, but this was re-purposed for the ā€œpublicā€ aspect of a list.

1 Like