Skip to content

Commit

Permalink
Merge pull request civicrm#24327 from demeritcowboy/unused-func
Browse files Browse the repository at this point in the history
Unused function getOptionalSmartyElements
  • Loading branch information
eileenmcnaughton authored Aug 21, 2022
2 parents 4a56125 + 0c8d930 commit 3b85809
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions CRM/Contact/Form/Contact.php
Original file line number Diff line number Diff line change
Expand Up @@ -126,19 +126,6 @@ public function getDefaultContext() {
return 'create';
}

/**
* Get any smarty elements that may not be present in the form.
*
* To make life simpler for smarty we ensure they are set to null
* rather than unset. This is done at the last minute when $this
* is converted to an array to be assigned to the form.
*
* @return array
*/
public function getOptionalSmartyElements(): array {
return ['group'];
}

/**
* Build all the data structures needed to build the form.
*/
Expand Down

0 comments on commit 3b85809

Please sign in to comment.