Replacing active flag with status field.
This commit is contained in:
parent
4a9cbfd91c
commit
e7dd066630
4 changed files with 11 additions and 21 deletions
|
|
@ -33,9 +33,9 @@ sub crud_definition {
|
|||
sendDate => {
|
||||
fieldType => 'dateTime',
|
||||
},
|
||||
active => {
|
||||
fieldType => 'yesNo',
|
||||
defaultValue => 0,
|
||||
state => {
|
||||
fieldType => 'text',
|
||||
defaultValue => 'idle',
|
||||
},
|
||||
);
|
||||
|
||||
|
|
@ -285,7 +285,7 @@ sub www_sendBatchConfirm {
|
|||
$self->queueEmails( $userIds );
|
||||
$self->update( {
|
||||
sendDate => $scheduled,
|
||||
active => 1,
|
||||
state => 'scheduled',
|
||||
} );
|
||||
|
||||
return WebGUI::Mailing::Admin->new( $session )->www_view;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue