Extensions - If there is an `<upgrader>`, then send it lifecycle notifications (w...
[civicrm-core.git] / CRM / Extension / Manager / Module.php
index 1bc20576fc0bfc725ac30c83969a5d1647cabe94..b66f633c31a247bf738556b9ab9ebb9e093620e7 100644 (file)
@@ -60,6 +60,9 @@ class CRM_Extension_Manager_Module extends CRM_Extension_Manager_Base {
     if (function_exists($fnName)) {
       $fnName();
     }
+    if ($info->upgrader) {
+      $this->mapper->getUpgrader($info->key)->notify($hookName);
+    }
   }
 
   /**