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:
6bcf954
)
Replaced CRM_Utils_Date::getUTCTime() with date('YmdHis');
author
Ruben Rodriguez
<ruben@gnu.org>
Thu, 14 Jul 2016 02:28:12 +0000
(22:28 -0400)
committer
Ruben Rodriguez
<ruben@gnu.org>
Thu, 14 Jul 2016 02:28:12 +0000
(22:28 -0400)
Removed unused variable $refreshTime
CRM/Contact/BAO/GroupContactCache.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Contact/BAO/GroupContactCache.php
b/CRM/Contact/BAO/GroupContactCache.php
index 2bd02dc699455f139dd259a3baa2dd2084d8623f..91acd65d9ccd3aa40e687c185a7b87ee6c289e13 100644
(file)
--- a/
CRM/Contact/BAO/GroupContactCache.php
+++ b/
CRM/Contact/BAO/GroupContactCache.php
@@
-329,10
+329,7
@@
WHERE id IN ( $groupIDs )
$refresh = NULL;
$smartGroupCacheTimeout = self::smartGroupCacheTimeout();
-
-
- $now = CRM_Utils_Date::getUTCTime();
- $refreshTime = CRM_Utils_Date::getUTCTime($smartGroupCacheTimeout * 60);
+ $now = date('YmdHis');
// HACK: Hardcoded delete limit.
$deleteLimit = 1000;