Merge pull request #23655 from colemanw/searchKitFixJoinAgain
[civicrm-core.git] / CRM / Mailing / Form / ForwardMailing.php
index 359b8866c07cbae694c4909e79925812b4f201d2..416ecaf44db109e0f1ec962d06780c11cf9bddc6 100644 (file)
@@ -46,7 +46,7 @@ class CRM_Mailing_Form_ForwardMailing extends CRM_Core_Form {
     // Show the subject instead of the name here, since it's being
     // displayed to external contacts/users.
 
-    CRM_Utils_System::setTitle(ts('Forward Mailing: %1', [1 => $mailing->subject]));
+    $this->setTitle(ts('Forward Mailing: %1', [1 => $mailing->subject]));
 
     $this->set('queue_id', $queue_id);
     $this->set('job_id', $job_id);
@@ -75,10 +75,6 @@ class CRM_Mailing_Form_ForwardMailing extends CRM_Core_Form {
         'name' => ts('Forward'),
         'isDefault' => TRUE,
       ],
-      [
-        'type' => 'cancel',
-        'name' => ts('Cancel'),
-      ],
     ]);
   }