projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b0e74ad
)
Make sure that the "Change Timeline" business logic runs in a transaction
author
atif-shaikh
<shaikh388@gmail.com>
Fri, 16 Jan 2015 11:06:39 +0000
(16:36 +0530)
committer
atif-shaikh
<shaikh388@gmail.com>
Fri, 16 Jan 2015 11:06:39 +0000
(16:36 +0530)
Civi/CCase/Events.php
patch
|
blob
|
blame
|
history
diff --git
a/Civi/CCase/Events.php
b/Civi/CCase/Events.php
index 13a42efe33751e8cf49ac04beeadbb7cc5b5c456..81757cbb406dd982fb1b22f6582d420e1845824a 100644
(file)
--- a/
Civi/CCase/Events.php
+++ b/
Civi/CCase/Events.php
@@
-63,6
+63,7
@@
class Events {
if ($caseId) {
if (!isset(self::$isActive[$caseId])) {
+ $tx = new \CRM_Core_Transaction();
\CRM_Core_Transaction::addCallback(
\CRM_Core_Transaction::PHASE_POST_COMMIT,
array(__CLASS__, 'fireCaseChangeForRealz'),