Add deprecation warning for modifiedDates
[civicrm-core.git] / 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';