composer.json - Move ezc components from packages to composer.json
[civicrm-core.git] / CRM / Utils / Hook.php
index 5bcff27e6f5d1819c918bffd7356c1fc83d5a43d..ced92c3d6d69b10b616e831bd737b23bb662fb62 100644 (file)
@@ -1568,6 +1568,22 @@ abstract class CRM_Utils_Hook {
     );
   }
 
+  /**
+   * This hook is called when a CiviMail mailing has completed
+   *
+   * @param int $mailingId
+   *   Mailing ID
+   *
+   * @return mixed
+   */
+  public static function postMailing($mailingId) {
+    return self::singleton()->invoke(1, $mailingId,
+      self::$_nullObject, self::$_nullObject,
+      self::$_nullObject, self::$_nullObject, self::$_nullObject,
+      'civicrm_postMailing'
+    );
+  }
+
   /**
    * This hook is called when Settings specifications are loaded.
    *