vadvs (vadvs) wrote in changelog,
vadvs
vadvs
changelog

[ljcom] r11017: LJSUP-9835: Add new e-mail to support ad...

Committer: vad
LJSUP-9835: Add new e-mail to support admin tool
U   trunk/cgi-bin/LJ/Sendmail.pm
U   trunk/htdocs/admin/sendmail/send.bml
Modified: trunk/cgi-bin/LJ/Sendmail.pm
===================================================================
--- trunk/cgi-bin/LJ/Sendmail.pm	2011-09-19 07:02:31 UTC (rev 11016)
+++ trunk/cgi-bin/LJ/Sendmail.pm	2011-09-19 09:55:32 UTC (rev 11017)
@@ -35,7 +35,12 @@
         push @cansend, 'ljspotlight';
     }
 
+    # LJSUP-9835: Add new e-mail to support admin tool
+    if (LJ::check_priv($u, "siteadmin", "pr")) {
+        push @cansend, 'livejournal';
+    }
+
     return @cansend;
 }
 
-1;
\ No newline at end of file
+1;

Modified: trunk/htdocs/admin/sendmail/send.bml
===================================================================
--- trunk/htdocs/admin/sendmail/send.bml	2011-09-19 07:02:31 UTC (rev 11016)
+++ trunk/htdocs/admin/sendmail/send.bml	2011-09-19 09:55:32 UTC (rev 11017)
@@ -139,6 +139,7 @@
         push @from, ('feedback' => "feedback\@$LJ::DOMAIN") if $cansend{'feedback'};
         push @from, ('support' => "support\@$LJ::DOMAIN") if $cansend{'support'};
         push @from, ('ljspotlight' => "ljspotlight\@$LJ::DOMAIN") if $cansend{'ljspotlight'};
+        push @from, ('livejournal' => "livejournal\@$LJ::DOMAIN") if $cansend{'livejournal'};
 
         my $selfrom = $edit_mode == 1 ? $POST{'from'} : $GET{'from'};
         $selfrom = "community" if !$selfrom && $cansend{'community'};

Tags: bml, ljcom, pm, vadvs
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