mirror of
https://github.com/silverstripe/silverstripe-translatable
synced 2024-10-22 09:05:59 +00:00
cad776c2f8
This builds on 44f8180110, but reverts most of it. The changeset had a logical flaw where it stored state on the Translatable extension where it was specific to a FieldList. This meant side effects when getCMSFields() was called more than once, such as in the CMSSettingsController template. Note: We shouldn't need to call getCMSFields() more than once because its an expensive call, but that's a missing feature in the template caching layer rather than a problem with the Translatable extension.