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:
a504c59
)
CRM-14308 Allow for disabling of Smart Group Cache by setting smartGroupCacheTimout...
author
Seamus Lee
<seamuslee001@gmail.com>
Mon, 7 Sep 2015 00:52:44 +0000
(
00:52
+0000)
committer
Seamus Lee
<seamuslee001@gmail.com>
Mon, 7 Sep 2015 00:52:44 +0000
(
00:52
+0000)
CRM/Contact/BAO/GroupContactCache.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Contact/BAO/GroupContactCache.php
b/CRM/Contact/BAO/GroupContactCache.php
index d3fbd76136eabddab5de04c6f353451b53febd52..c31b062c49e396eb4e7afb6bb6af35cd819a7c55 100644
(file)
--- a/
CRM/Contact/BAO/GroupContactCache.php
+++ b/
CRM/Contact/BAO/GroupContactCache.php
@@
-588,8
+588,7
@@
AND civicrm_group_contact.group_id = $groupID ";
if (
isset($config->smartGroupCacheTimeout) &&
- is_numeric($config->smartGroupCacheTimeout) &&
- $config->smartGroupCacheTimeout > 0
+ is_numeric($config->smartGroupCacheTimeout)
) {
return $config->smartGroupCacheTimeout;
}