Added isAdHocMailGroup flag which can be used to build temporary groups of users to send notifications to. Once the users have been added to the mail queue in WebGUI::Mail::send, the group is deleted.
This commit is contained in:
parent
9a6171c09c
commit
cde696c767
3 changed files with 82 additions and 2 deletions
|
|
@ -37,6 +37,7 @@ addEMSBadgeTemplate ( $session );
|
|||
redirectChoice ($session);
|
||||
badgePriceDates ($session);
|
||||
addIsDefaultTemplates( $session );
|
||||
addAdHocMailGroups( $session );
|
||||
|
||||
finish($session); # this line required
|
||||
|
||||
|
|
@ -225,6 +226,13 @@ sub redirectChoice {
|
|||
print "DONE!\n" unless $quiet;
|
||||
}
|
||||
|
||||
#----------------------------------------------------------------------------
|
||||
sub addAdHocMailGroups {
|
||||
my $session = shift;
|
||||
print "\tAdding AdHocMailGroups to Groups.. " unless $quiet;
|
||||
$session->db->write("alter table groups add column isAdHocMailGroup tinyint(4) not null default 0");
|
||||
print "DONE!\n" unless $quiet;
|
||||
}
|
||||
|
||||
# -------------- DO NOT EDIT BELOW THIS LINE --------------------------------
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue