From 152772454a130b0396f56ec0a184031308628b25 Mon Sep 17 00:00:00 2001 From: Ruben Rodriguez Date: Wed, 13 Jul 2016 22:28:12 -0400 Subject: [PATCH] Replaced CRM_Utils_Date::getUTCTime() with date('YmdHis'); Removed unused variable $refreshTime --- CRM/Contact/BAO/GroupContactCache.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/CRM/Contact/BAO/GroupContactCache.php b/CRM/Contact/BAO/GroupContactCache.php index 2bd02dc699..91acd65d9c 100644 --- 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; -- 2.25.1