remove unnecessary code
This commit is contained in:
parent
7e386ec7f3
commit
5b99cf58f3
1 changed files with 1 additions and 4 deletions
|
@ -230,11 +230,8 @@ class CustomField {
|
|||
id: $this->id\n
|
||||
group: $this->custom_group_id"
|
||||
);
|
||||
|
||||
foreach ($this->getSetAttributes() as $var => $attribute) {
|
||||
$this->$var = NULL;
|
||||
}
|
||||
}
|
||||
// ... else: log error
|
||||
else {
|
||||
if ($this->label && $this->custom_group_id) {
|
||||
\Civi::log()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue