wisest owl (wisest_owl) wrote in changelog,
wisest owl
wisest_owl
changelog

[livejournal] r18140: LJSUP-7819. Inactive maintainers in vote...

Committer: gprochaev
LJSUP-7819. Inactive maintainers in vote.

U   trunk/bin/misc/set_comm_supermaintainer.pl
Modified: trunk/bin/misc/set_comm_supermaintainer.pl
===================================================================
--- trunk/bin/misc/set_comm_supermaintainer.pl	2011-01-28 12:00:12 UTC (rev 18139)
+++ trunk/bin/misc/set_comm_supermaintainer.pl	2011-01-31 04:39:35 UTC (rev 18140)
@@ -294,6 +294,7 @@
     _log "Sending emails to all maintainers for community " . $comm->user . "\n";
     foreach my $maint_id (@$maintainers) {
         my $u = LJ::load_userid ($maint_id);
+        next unless $u && $u->is_visible && $u->can_manage($comm) && $u->check_activity(90);
         _log "\tSend email to maintainer ".$u->user."\n";
         LJ::send_mail({ 'to'        => $u->email_raw,
                         'from'      => $LJ::ACCOUNTS_EMAIL,

Tags: livejournal, pl, wisest-owl
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments