Replaced CRM_Utils_Date::getUTCTime() with date('YmdHis');
authorRuben Rodriguez <ruben@gnu.org>
Thu, 14 Jul 2016 02:28:12 +0000 (22:28 -0400)
committerRuben Rodriguez <ruben@gnu.org>
Thu, 14 Jul 2016 02:28:12 +0000 (22:28 -0400)
Removed unused variable $refreshTime

CRM/Contact/BAO/GroupContactCache.php

index 2bd02dc699455f139dd259a3baa2dd2084d8623f..91acd65d9ccd3aa40e687c185a7b87ee6c289e13 100644 (file)
@@ -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;