);
if (self::workflowEnabled() || $getAllUnconditionally) {
- $permissions[] = array(
- 'create mailings' => array(
- ts('create mailings'),
- ),
+ $permissions['create mailings'] = array(
+ ts('create mailings'),
);
- $permissions[] = array(
- 'schedule mailings' => array(
- ts('schedule mailings'),
- ),
+ $permissions['schedule mailings'] = array(
+ ts('schedule mailings'),
);
- $permissions[] = array(
- 'approve mailings' => array(
- ts('approve mailings'),
- ),
+ $permissions['approve mailings'] = array(
+ ts('approve mailings'),
);
}