Add deprecation warning for modifiedDates
authorEileen McNaughton <emcnaughton@wikimedia.org>
Wed, 7 Jul 2021 23:48:25 +0000 (11:48 +1200)
committerEileen McNaughton <emcnaughton@wikimedia.org>
Wed, 7 Jul 2021 23:48:25 +0000 (11:48 +1200)
This is only accessed from log_date

CRM/Contact/BAO/Query.php

index cdde954b26e77b95dece6dfe61a667c7f40d4dff..c94278081f89b48bf998b5ec79122ea8338406ab 100644 (file)
@@ -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';