Ticket #2915 (new refactor) — at Initial Version

Opened 20 months ago

Last modified 20 months ago

Refactor form_to_db_schema_options()

Reported by: seanh Owned by:
Priority: awaiting triage Milestone: ckan 2.0
Component: ckan Keywords:
Cc: Repository: ckan
Theme: none

Description

Having two methods form_to_db_schema(self) and form_to_db_schema_options(self, options) seems unnecessary, why not just have form_to_db_schema(self, options=None)?

Fixing this might break existing extensions although I don't think any are using form_to_db_schema_options() so it should be okay.

Note: See TracTickets for help on using tickets.