'qs' => 'mid=%%mid%%&reset=1',
'title' => ts('View Mailing Report'),
],
- CRM_Core_Action::UPDATE => [
- 'name' => ts('Re-Use'),
- 'url' => 'civicrm/mailing/send',
- 'qs' => 'mid=%%mid%%&reset=1',
- 'title' => ts('Re-Send Mailing'),
- ],
CRM_Core_Action::DISABLE => [
'name' => ts('Cancel'),
'url' => 'civicrm/mailing/browse',
'qs' => 'mid=%%mid%%&continue=true&reset=1',
'title' => ts('Continue Mailing'),
],
+ CRM_Core_Action::UPDATE => [
+ 'name' => ts('Re-Use'),
+ 'url' => 'civicrm/mailing/send',
+ 'qs' => 'mid=%%mid%%&reset=1',
+ 'title' => ts('Re-Send Mailing'),
+ ],
CRM_Core_Action::DELETE => [
'name' => ts('Delete'),
'url' => 'civicrm/mailing/browse',
if ($allAccess || $showCreateLinks) {
$actionMask = CRM_Core_Action::VIEW;
}
-
- if (!in_array($row['id'], $searchMailings)) {
- if ($allAccess || $showCreateLinks) {
- $actionMask |= CRM_Core_Action::UPDATE;
- }
- }
}
else {
if ($allAccess || ($showCreateLinks || $showScheduleLinks)) {
}
}
+ if ($allAccess || $showCreateLinks) {
+ $actionMask |= CRM_Core_Action::UPDATE;
+ }
+
// check for delete permission.
if ($allowToDelete) {
$actionMask |= CRM_Core_Action::DELETE;