Commit 975b660f authored by Rich's avatar Rich
Browse files

rename hook function to match extension

parent 208b609a
......@@ -4,7 +4,7 @@ require_once 'mosaicomsgtpl.civix.php';
use CRM_Mosaicomsgtpl_ExtensionUtil as E;
function mosaico_civicrm_post($op, $objectName, $objectId, &$objectRef = NULL) {
function mosaicomsgtpl_civicrm_post($op, $objectName, $objectId, &$objectRef = NULL) {
if (($op === 'create' || $op === 'edit') && $objectName === 'MosaicoTemplate') {
if (Civi::settings()->get('mosaicomsgtpl_suspend')) {
return;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment