Unverified Commit ccd8a516 authored by MikeyMJCO's avatar MikeyMJCO Committed by GitHub
Browse files

Merge pull request #5 from MJCO/fix-install-with-auto-deps

Clear Caches before running Job
parents 208b609a dc57f47d
......@@ -46,6 +46,9 @@ class CRM_Mosaicomsgtpl_Upgrader extends CRM_Mosaicomsgtpl_Upgrader_Base {
*/
public function enable() {
// CRM_Core_DAO::executeQuery('UPDATE foo SET is_active = 1 WHERE bar = "whiz"');
CRM_Core_Invoke::rebuildMenuAndCaches(TRUE);
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