CRM-14727 - Allow SequenceListener to work (even if there is no standard timeline).
authortotten@civicrm.org <Tim Otten>
Thu, 12 Jun 2014 07:10:44 +0000 (00:10 -0700)
committertotten@civicrm.org <Tim Otten>
Thu, 12 Jun 2014 07:10:44 +0000 (00:10 -0700)
Civi/Core/Container.php

index d1a0578c37923c2fb37a1c6fd9f6b3b75165e308..faecd4b407eb47456bd03f09e4f2a08ab8ffb276 100644 (file)
@@ -90,7 +90,7 @@ class Container {
   public function createEventDispatcher() {
     $dispatcher = new \Symfony\Component\EventDispatcher\EventDispatcher();
     $dispatcher->addListener('hook_civicrm_post::Activity', array('\Civi\CCase\Events', 'fireCaseChange'));
-    //$dispatcher->addListener('hook_civicrm_post::Case', array('\Civi\CCase\Events', 'fireCaseChange'));
+    $dispatcher->addListener('hook_civicrm_post::Case', array('\Civi\CCase\Events', 'fireCaseChange'));
     $dispatcher->addListener('hook_civicrm_caseChange', array('\Civi\CCase\Events', 'delegateToXmlListeners'));
     $dispatcher->addListener('hook_civicrm_caseChange', array('\Civi\CCase\SequenceListener', 'onCaseChange_static'));
     return $dispatcher;