From bdee30408618dad37a0eba4f1bb5aab084afbbbe Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Fri, 2 Sep 2022 11:45:32 +1200 Subject: [PATCH] Remove function after two years of noisy deprecation --- CRM/Case/XMLProcessor.php | 27 --------------------------- 1 file changed, 27 deletions(-) diff --git a/CRM/Case/XMLProcessor.php b/CRM/Case/XMLProcessor.php index 9f9ef223e9..eb7036848b 100644 --- a/CRM/Case/XMLProcessor.php +++ b/CRM/Case/XMLProcessor.php @@ -16,16 +16,6 @@ */ class CRM_Case_XMLProcessor { - /** - * FIXME: This does *NOT* belong in a static property, but we're too late in - * the 4.5-cycle to do the necessary cleanup. - * - * Format is [int $id => string $relTypeCname]. - * - * @var array|null - */ - public static $activityTypes = NULL; - /** * @param $caseType * @@ -61,22 +51,6 @@ class CRM_Case_XMLProcessor { return $caseType; } - /** - * @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); - } - return self::$activityTypes; - } - /** * Get all relationship type display labels (not machine names) * @@ -122,7 +96,6 @@ class CRM_Case_XMLProcessor { * FIXME: This should not exist */ public static function flushStaticCaches() { - self::$activityTypes = NULL; unset(Civi::$statics[__CLASS__]['reltypes']); } -- 2.25.1