use inheritance for campaign classes
This commit is contained in:
parent
24d224cc38
commit
6b434e455f
10 changed files with 932 additions and 475 deletions
|
@ -89,10 +89,10 @@ class CustomField {
|
|||
|
||||
// Log field creation
|
||||
if ($this->result['is_error'] == 0) {
|
||||
\Civi::log()->info("Twingle Extension has created a new custom field.\n
|
||||
label: $this->label\n
|
||||
name: $this->name\n
|
||||
id: $this->id\n
|
||||
\Civi::log()->info("Twingle Extension has created a new custom field.
|
||||
label: $this->label
|
||||
name: $this->name
|
||||
id: $this->id
|
||||
group: $this->custom_group_id"
|
||||
);
|
||||
}
|
||||
|
@ -224,10 +224,10 @@ class CustomField {
|
|||
|
||||
// Check if custom field was deleted successfully
|
||||
if ($this->result['is_error'] == 0) {
|
||||
\Civi::log()->info("Twingle Extension has deleted custom field.\n
|
||||
label: $this->label\n
|
||||
name: $this->name\n
|
||||
id: $this->id\n
|
||||
\Civi::log()->info("Twingle Extension has deleted custom field.
|
||||
label: $this->label
|
||||
name: $this->name
|
||||
id: $this->id
|
||||
group: $this->custom_group_id"
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue