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

[livejournal] r18150: LJSUP-7824. incorrect working script for...

Committer: gprochaev
LJSUP-7824. incorrect working script for add supermaintainer

U   trunk/cgi-bin/communitylib.pl
Modified: trunk/cgi-bin/communitylib.pl
===================================================================
--- trunk/cgi-bin/communitylib.pl	2011-01-31 09:10:27 UTC (rev 18149)
+++ trunk/cgi-bin/communitylib.pl	2011-01-31 09:13:16 UTC (rev 18150)
@@ -181,6 +181,7 @@
             $flag_set_owner_error = 1;
         } else {
             LJ::set_rel($cu->{userid}, $u->{userid}, $edgelist{$_}) if $args->{$_};
+            $cu->log_event('maintainer_add', { actiontarget => $u->{userid}, remote => $u }) if $_ eq 'admin' && $args->{$_};
         }
     }
 

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