🧹 code cleanup
This commit is contained in:
parent
1e6feda923
commit
55f7977c79
2 changed files with 21 additions and 22 deletions
|
@ -163,10 +163,9 @@ class CRM_TwingleCampaign_BAO_TwingleCampaign {
|
||||||
// UI, log an error and delete this TwingleCampaign
|
// UI, log an error and delete this TwingleCampaign
|
||||||
else {
|
else {
|
||||||
CRM_Core_Session::setStatus(
|
CRM_Core_Session::setStatus(
|
||||||
ts("Could not determine parent TwingleProject URL. This URL is
|
ts("Could not determine parent TwingleProject URL. This URL is needed to create the TwingleEvent URL. Please check the logs."),
|
||||||
needed to create the TwingleEvent URL. Please check the logs."),
|
|
||||||
ts('Parent project URL missing'),
|
ts('Parent project URL missing'),
|
||||||
'alert'
|
'error'
|
||||||
);
|
);
|
||||||
Civi::log()->error(
|
Civi::log()->error(
|
||||||
E::LONG_NAME .
|
E::LONG_NAME .
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue