Skip to content

Commit

Permalink
CRM-14727 - Allow SequenceListener to work (even if there is no stand…
Browse files Browse the repository at this point in the history
…ard timeline).
  • Loading branch information
totten@civicrm.org authored and totten@civicrm.org committed Jun 12, 2014
1 parent 5927eb7 commit 753657e
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 753657e

Please sign in to comment.