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:
2fbc23b
)
Remove extraneous opportunistic cache flush.
author
eileen
<emcnaughton@wikimedia.org>
Thu, 23 Jul 2020 03:57:48 +0000
(15:57 +1200)
committer
eileen
<emcnaughton@wikimedia.org>
Fri, 24 Jul 2020 02:32:43 +0000
(14:32 +1200)
The opportunistic cache flush is already called by contact create and then again by each of the places
where the contact might be added to a group so this is just extraneous
CRM/Contact/BAO/Contact.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Contact/BAO/Contact.php
b/CRM/Contact/BAO/Contact.php
index addab4f508397db1d5ba5ae0473cacb904c8e992..669efc366714db76d0edf94160856a096569c175 100644
(file)
--- a/
CRM/Contact/BAO/Contact.php
+++ b/
CRM/Contact/BAO/Contact.php
@@
-2053,8
+2053,6
@@
ORDER BY civicrm_email.is_primary DESC";
CRM_Contact_BAO_GroupContact::addContactsToGroup($contactIds, $addToGroupID);
}
- CRM_Contact_BAO_GroupContactCache::opportunisticCacheFlush();
-
if ($editHook) {
CRM_Utils_Hook::post('edit', 'Profile', $contactID, $params);
}