Skip to content
This repository has been archived by the owner on Feb 6, 2023. It is now read-only.

Upgrade flexmailer symfony code to run on v3.4 and 4.4 as per core PR… #57

Merged
merged 3 commits into from
May 28, 2020

Commits on May 24, 2020

  1. Configuration menu
    Copy the full SHA
    3b02ed9 View commit details
    Browse the repository at this point in the history

Commits on May 27, 2020

  1. (REF) Remove dead code (registerListeners() et al)

    `CIVICRM_FLEXMAILER_HACK_LISTENERS` and `registerListeners()` function were
    used in older versions to wire-up Flexmailer's dispatchers.  This is now
    accomplished via public API, `hook_civicrm_container` - seems to work, no
    reason to go back.
    
    Note: I was confused by two things:
    
    1. The previous calls didn't look like they should work.
    
    2. Somehow, the API override still worked - even though there was no obvious callpath to `addSubscriberService()`
       It turns out that `registerApiProvider()` handles registration with the dispatcher, so `addSubscriberService()`
       isn't actually used.
    totten committed May 27, 2020
    Configuration menu
    Copy the full SHA
    a0b96ee View commit details
    Browse the repository at this point in the history

Commits on May 28, 2020

  1. Re-enable usage of addListenerService()

    In core's #17380, we ultimately preserved `addListenerService()`, so this doesn't have to be removed.
    totten committed May 28, 2020
    Configuration menu
    Copy the full SHA
    7a780d7 View commit details
    Browse the repository at this point in the history