Added the current uncommited changes to production code, and rebased to 4.6.8
[civicrm-core.git] / CRM / Contribute / BAO / Contribution.php
index 48e16a4dbf27fcec5c0434e1df457e5f5a2f5dff..01c117fe299966c71839cf6e1aa1e57f26d2daf9 100644 (file)
@@ -246,7 +246,9 @@ class CRM_Contribute_BAO_Contribution extends CRM_Contribute_DAO_Contribution {
       );
     }
 
-    CRM_Contact_BAO_GroupContactCache::opportunisticCacheFlush();
+    // reset the group contact cache for this group
+    // HACK: dave hack - these caches are murder!!!
+    // CRM_Contact_BAO_GroupContactCache::opportunisticCacheFlush();
 
     if ($contributionID) {
       CRM_Utils_Hook::post('edit', 'Contribution', $contribution->id, $contribution);