Merge pull request #19492 from demeritcowboy/fatalerrorhandler
[civicrm-core.git] / CRM / Case / XMLProcessor.php
index 1b8780c99127107a0248c85806e950c2c673e192..9f9ef223e919dde93635b6ee81c06f5eab48f313 100644 (file)
@@ -62,12 +62,15 @@ class CRM_Case_XMLProcessor {
   }
 
   /**
+   * @deprecated
+   *
    * @param bool $indexName
    * @param bool $all
    *
    * @return array
    */
   public static function &allActivityTypes($indexName = TRUE, $all = FALSE) {
+    CRM_Core_Error::deprecatedFunctionWarning('CRM_Case_PseudoConstant::caseActivityType');
     if (self::$activityTypes === NULL) {
       self::$activityTypes = CRM_Case_PseudoConstant::caseActivityType($indexName, $all);
     }