Skip to content

Commit

Permalink
earlier rename missing this one
Browse files Browse the repository at this point in the history
  • Loading branch information
demeritcowboy authored and totten committed Jan 31, 2023
1 parent 1addfdc commit b1a1ee4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions CRM/Mailing/Event/BAO/MailingEventResubscribe.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@
require_once 'Mail/mime.php';

/**
* Class CRM_Mailing_Event_BAO_Resubscribe
* Class CRM_Mailing_Event_BAO_MailingEventResubscribe
*/
class CRM_Mailing_Event_BAO_Resubscribe {
class CRM_Mailing_Event_BAO_MailingEventResubscribe {

/**
* Resubscribe a contact to the groups, he/she was unsubscribed from.
Expand Down
4 changes: 2 additions & 2 deletions CRM/Mailing/Page/Common.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,9 @@ public function run() {
}
}
elseif ($this->_type == 'resubscribe') {
$groups = CRM_Mailing_Event_BAO_Resubscribe::resub_to_mailing($job_id, $queue_id, $hash);
$groups = CRM_Mailing_Event_BAO_MailingEventResubscribe::resub_to_mailing($job_id, $queue_id, $hash);
if (count($groups)) {
CRM_Mailing_Event_BAO_Resubscribe::send_resub_response($queue_id, $groups, $job_id);
CRM_Mailing_Event_BAO_MailingEventResubscribe::send_resub_response($queue_id, $groups, $job_id);
}
else {
// should we indicate an error, or just ignore?
Expand Down
4 changes: 2 additions & 2 deletions api/v3/MailingEventResubscribe.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,14 @@
*/
function civicrm_api3_mailing_event_resubscribe_create($params) {

$groups = CRM_Mailing_Event_BAO_Resubscribe::resub_to_mailing(
$groups = CRM_Mailing_Event_BAO_MailingEventResubscribe::resub_to_mailing(
$params['job_id'],
$params['event_queue_id'],
$params['hash']
);

if (count($groups)) {
CRM_Mailing_Event_BAO_Resubscribe::send_resub_response(
CRM_Mailing_Event_BAO_MailingEventResubscribe::send_resub_response(
$params['event_queue_id'],
$groups,
$params['job_id']
Expand Down

0 comments on commit b1a1ee4

Please sign in to comment.