From 5c692063e75ce1897510ed20264923b82439ac3e Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Thu, 8 Jul 2021 11:48:25 +1200 Subject: [PATCH] Add deprecation warning for modifiedDates This is only accessed from log_date --- CRM/Contact/BAO/Query.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Contact/BAO/Query.php b/CRM/Contact/BAO/Query.php index cdde954b26..c94278081f 100644 --- a/CRM/Contact/BAO/Query.php +++ b/CRM/Contact/BAO/Query.php @@ -3984,7 +3984,7 @@ WHERE $smartGroupClause */ public function modifiedDates($values) { $this->_useDistinct = TRUE; - + CRM_Core_Error::deprecatedWarning('function should not be reachable'); // CRM-11281, default to added date if not set $fieldTitle = ts('Added Date'); $fieldName = 'created_date'; -- 2.25.1