Thursday 01 September 2005 12:49:19 am
Currently it is not possible to know on which version a draft was based. Creating a new draft copies the content of the published version, but another draft can be published afterwards. It would be usefull to add a new field to the ezcontentobject_version table which contains the version it was based on. A cronjob could then loop over the drafts, check all the version's attributes on differences in data_int, data_float and data_text, and the version's related objects. If there are no differences, the draft can be removed.
independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org
|