/[notice-sender]/trunk/sender.pl
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /trunk/sender.pl

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 10 by dpavlin, Sat May 14 14:26:21 2005 UTC revision 11 by dpavlin, Sat May 14 18:20:50 2005 UTC
# Line 53  my $lists = $loader->find_class('lists') Line 53  my $lists = $loader->find_class('lists')
53  my $users = $loader->find_class('users');  my $users = $loader->find_class('users');
54  my $user_list = $loader->find_class('user_list');  my $user_list = $loader->find_class('user_list');
55  my $messages = $loader->find_class('messages');  my $messages = $loader->find_class('messages');
56  my $message_list = $loader->find_class('message_list');  my $queue = $loader->find_class('queue');
57    
58  =item --list[=list_name]  =item --list[=list_name]
59    
# Line 144  argument) or read from C<STDIN>. Line 144  argument) or read from C<STDIN>.
144    
145          $this_message->dbi_commit();          $this_message->dbi_commit();
146    
147          $message_list->find_or_create({          $queue->find_or_create({
148                  message_id => $this_message->id,                  message_id => $this_message->id,
149                  list_id => $this_list->id,                  list_id => $this_list->id,
150          }) || die "can't add message ",$this_message->id," to list ",$this_list->id, ": ",$this_list->name;          }) || die "can't add message ",$this_message->id," to list ",$this_list->id, ": ",$this_list->name;

Legend:
Removed from v.10  
changed lines
  Added in v.11

  ViewVC Help
Powered by ViewVC 1.1.26