The previous code worked in v4.7 because the revised bootstrap ensures that the container is available beforehook_civicrm_config fires. However, the ordering is more nebulous in v4.6.
This change manages to register the API override without using hook_civicrm_config.
The previous code worked in v4.7 because the revised bootstrap ensures that the container is available before
hook_civicrm_config
fires. However, the ordering is more nebulous in v4.6.This change manages to register the API override without using
hook_civicrm_config
.