Skip to content

Commit

Permalink
(NFC) Consolidate comments about mosaico_civicrm_entityTypes()
Browse files Browse the repository at this point in the history
  • Loading branch information
totten committed May 21, 2022
1 parent 22c0d79 commit ee2d680
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions mosaico.php
Original file line number Diff line number Diff line change
Expand Up @@ -342,6 +342,7 @@ function mosaico_civicrm_mailingTemplateTypes(&$types) {
* Implements hook_civicrm_entityTypes().
*/
function mosaico_civicrm_entityTypes(&$entityTypes) {
// _mosaico_civix_civicrm_entityTypes($entityTypes);
$entityTypes[] = [
'name' => 'MosaicoTemplate',
'class' => 'CRM_Mosaico_DAO_MosaicoTemplate',
Expand Down Expand Up @@ -408,12 +409,3 @@ function mosaico_wrapMailingApi($event) {
break;
}
}

// /**
// * Implements hook_civicrm_entityTypes().
// *
// * @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_entityTypes
// */
// function mosaico_civicrm_entityTypes(&$entityTypes) {
// _mosaico_civix_civicrm_entityTypes($entityTypes);
// }

0 comments on commit ee2d680

Please sign in to comment.