Skip to content

Commit

Permalink
Merge pull request #3483 from totten/master-sequence-postcase
Browse files Browse the repository at this point in the history
CRM-14727 - Allow SequenceListener to work (even if there is no standard timeline).
  • Loading branch information
totten committed Jun 12, 2014
2 parents 5927eb7 + 753657e commit 9b5f4ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Civi/Core/Container.php
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ public function createContainer() {
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;
Expand Down

0 comments on commit 9b5f4ec

Please sign in to comment.