Skip to content
Snippets Groups Projects
Unverified Commit 0891cd90 authored by Seamus Lee's avatar Seamus Lee Committed by GitHub
Browse files

Merge pull request #17627 from demeritcowboy/deprecate-allactivitytypes

#1433 - Add deprecation warning for CRM_Case_XMLProcessor::allActivityTypes
parents bd5f58a4 821f520b
Branches
Tags
No related merge requests found
......@@ -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);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment