Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Minor
-
Resolution: Fixed/Completed
-
Affects Version/s: 4.1.2
-
Fix Version/s: 4.1.3
-
Component/s: Core CiviCRM
-
Labels:None
Description
Noticed while debugging fix for CRM-10264 that CRM_Core_BAO_Cache::setItem() was creating all cache entries in hours 0-12, as it used date('Ymdhis') not date('YmdHis'). This was not an issue while cache lifetimes were measured in days.
To verify that all your CiviCRM cache entries were created in the AM -
SELECT DISTINCT EXTRACT(HOUR FROM created_date) FROM civicrm_cache;