Closed mlutfy closed 4 years ago
@mlutfy This seems reasonable. It would be nice to get to the bottom of the cache clear issue but should not hold up the merge of this PR once it's tested.
@mlutfy we used the same fix as this PR. So good to merge from Agileware's perspective.
Thanks @agileware-justin @mattwire . I took the liberty to self-merge this PR based on reviews.
See #61
Upgrading flexmailer on an existing site causes cache problems. Deleting the cache manually fixes the issue, but only if we delete the cache files manually (with "rm"), because CiviCRM won't boot.
To reproduce:
Until we find a better fix, this PR reverts the removal of the legacy autoload code.
Once the cache is flushed (with the new version of flexmailer), the old autoload is not necessary anymore.