Commit 6547067c authored by Rich's avatar Rich
Browse files

Update /CRM/Mosaicomsgtpl/Upgrader.php

parent b1b59fe3
......@@ -138,4 +138,13 @@ class CRM_Mosaicomsgtpl_Upgrader extends CRM_Mosaicomsgtpl_Upgrader_Base {
return TRUE;
} // */
/**
* Rebuild all templates because we changed the way <style> is handled.
*/
public function upgrade_0001() {
$this->ctx->log->info('Rebuild Mosaico Message Templates');
civicrm_api3('Job', 'mosaico_msg_sync', []);
return TRUE;
}
}
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