Skip to content

Commit

Permalink
Merge pull request #29462 from seamuslee001/depreacate_getsubtype
Browse files Browse the repository at this point in the history
[REF] Fully deprecated getSubType function
  • Loading branch information
seamuslee001 authored Feb 21, 2024
2 parents e9d2867 + a164b9f commit 3c83e5c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CRM/Core/BAO/CustomGroup.php
Original file line number Diff line number Diff line change
Expand Up @@ -2110,10 +2110,11 @@ public static function getMultipleFieldGroup() {

/**
* Use APIv4 getFields (or self::getExtendsEntityColumnValueOptions) instead of this beast.
* @deprecated
* @deprecated as of 5.72 use getExtendsEntityColumnValueOptions - will be removed by 5.78
* @return array
*/
public static function getSubTypes(): array {
CRM_Core_Error::deprecatedFunctionWarning('CRM_Core_BAO_CustomGroup::getExtendsEntityColumnValueOptions');
$sel2 = [];
$activityType = CRM_Activity_BAO_Activity::buildOptions('activity_type_id', 'search');

Expand Down

0 comments on commit 3c83e5c

Please sign in to comment.