Renaming mailing tables to better names.
This commit is contained in:
parent
da2ea4d62b
commit
a1d8ab6f70
4 changed files with 16 additions and 5 deletions
|
|
@ -58,7 +58,7 @@ sub www_bounceReport {
|
|||
my $self = shift;
|
||||
my $session = $self->session;
|
||||
my $i18n = WebGUI::International->new( $session, 'MailingManager' );
|
||||
my $sth = $session->db->read( 'select distinct sentTo from WGMailing_queue where sentTo is not null' );
|
||||
my $sth = $session->db->read( 'select distinct sentTo from Mailing_email where sentTo is not null' );
|
||||
|
||||
my $output = '<table><tr><th>'.$i18n->get('email').'</th><th>'.$i18n->get('bounce score').'</th></tr>';
|
||||
while ( my ($email) = $sth->array ) {
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ sub crud_definition {
|
|||
|
||||
my $definition = $class->SUPER::crud_definition( $session );
|
||||
|
||||
$definition->{ tableName } = 'WGMailing_queue';
|
||||
$definition->{ tableName } = 'Mailing_email';
|
||||
$definition->{ tableKey } = 'mailId';
|
||||
$definition->{ sequenceKey } = 'mailingId';
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue