Skip to content

Switch hook_civicrm_entityTypes to search by name; use E::ts()

colemanw requested to merge colemanw/crontab:hookFix into master

Upstream changes in core mean that you can't count on the DAO classname as the array key. This switches to search by $entity['name'] instead.

While I was at it I also updated ts() to be E::ts().

Merge request reports