Eileen has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/376456 )

Change subject: Temporarily hack out cache clearing, for test purposes only
......................................................................

Temporarily hack out cache clearing, for test purposes only

Change-Id: I9c175939e3ab2d36b24d71080e7624fc3c3a94d7
---
M CRM/ACL/BAO/Cache.php
M CRM/Contact/BAO/Contact.php
M CRM/Contact/BAO/GroupContactCache.php
3 files changed, 3 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/wikimedia/fundraising/crm/civicrm 
refs/changes/56/376456/1

diff --git a/CRM/ACL/BAO/Cache.php b/CRM/ACL/BAO/Cache.php
index e1e989c..90030e5 100644
--- a/CRM/ACL/BAO/Cache.php
+++ b/CRM/ACL/BAO/Cache.php
@@ -142,6 +142,7 @@
    * Deletes all the cache entries.
    */
   public static function resetCache() {
+    return;
     // reset any static caching
     self::$_cache = NULL;
 
diff --git a/CRM/Contact/BAO/Contact.php b/CRM/Contact/BAO/Contact.php
index 0460b22..e9089ca 100644
--- a/CRM/Contact/BAO/Contact.php
+++ b/CRM/Contact/BAO/Contact.php
@@ -980,7 +980,7 @@
    * @param bool $isTrashed
    */
   public static function updateContactCache($contactID, $isTrashed = FALSE) {
-
+    return;
     if ($isTrashed) {
       CRM_Contact_BAO_GroupContactCache::removeContact($contactID);
       // This has been moved to here from CRM_Contact_BAO_Contact_Permission 
as that was causing
diff --git a/CRM/Contact/BAO/GroupContactCache.php 
b/CRM/Contact/BAO/GroupContactCache.php
index e0d041a..cdd4977 100644
--- a/CRM/Contact/BAO/GroupContactCache.php
+++ b/CRM/Contact/BAO/GroupContactCache.php
@@ -306,6 +306,7 @@
    *   run the function exactly once for all groups.
    */
   public static function remove($groupID = NULL, $onceOnly = TRUE) {
+    return;
     static $invoked = FALSE;
 
     // typically this needs to happy only once per instance

-- 
To view, visit https://gerrit.wikimedia.org/r/376456
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I9c175939e3ab2d36b24d71080e7624fc3c3a94d7
Gerrit-PatchSet: 1
Gerrit-Project: wikimedia/fundraising/crm/civicrm
Gerrit-Branch: master
Gerrit-Owner: Eileen <emcnaugh...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to