Committer: gprochaev
LJSUP-7751. not received a message for one maintainerU trunk/bin/misc/set_comm_supermaintainer.pl
Modified: trunk/bin/misc/set_comm_supermaintainer.pl =================================================================== --- trunk/bin/misc/set_comm_supermaintainer.pl 2011-01-21 07:14:30 UTC (rev 18074) +++ trunk/bin/misc/set_comm_supermaintainer.pl 2011-01-21 07:21:11 UTC (rev 18075) @@ -245,6 +245,7 @@ my $maintainers = LJ::load_rel_user($comm_id, 'A'); foreach my $u_id (@$maintainers) { my $u = LJ::load_userid($u_id); + _log "\tAdd ".$u->user." as item to poll\n"; push @items, { item => "<lj user='".$u->user."'>", }; @@ -272,8 +273,10 @@ ## All are ok. Emailing to all maintainers about election. my $subject = LJ::Lang::ml('Supermaintainer election'); + _log "Sending emails to all maintainers for community " . $comm->user . "\n"; foreach my $maint_id (@$maintainers) { my $u = LJ::load_userid ($maint_id); + _log "\tSend email to maintainer ".$u->user."\n"; LJ::send_mail({ 'to' => $u->email_raw, 'from' => $LJ::ACCOUNTS_EMAIL, 'fromname' => $LJ::SITENAMESHORT,