diff --git a/CRM/Contact/BAO/GroupContactCache.php b/CRM/Contact/BAO/GroupContactCache.php index 6de0de466efa8c815fdee3cba28af3e8fc03e869..bf1aeb7eade3f4bc37441079b9b2ea4bf28c111b 100644 --- a/CRM/Contact/BAO/GroupContactCache.php +++ b/CRM/Contact/BAO/GroupContactCache.php @@ -169,7 +169,7 @@ AND ( g.cache_date IS NULL OR if (!empty($refreshGroupIDs)) { $refreshGroupIDString = CRM_Core_DAO::escapeString(implode(', ', $refreshGroupIDs)); - $time = CRM_Utils_Date::getUTCTime($smartGroupCacheTimeout * 60); + $time = CRM_Utils_Date::getUTCTime(self::smartGroupCacheTimeout() * 60); $query = " UPDATE civicrm_group g SET g.refresh_date = $time