cvs: SVNROOT / commit-email.php

[email protected] ("Gwynne Raskind") Sat, 20 Dec 2008 19:24:18 -0000
Newsgroups svn.migration
Message-ID <cvsgwynne1229801058@cvsserver>
gwynne		Sat Dec 20 19:24:18 2008 UTC

  Modified files:              
    /SVNROOT	commit-email.php 
  Log:
  Send e-mails from php.net address
  
http://cvs.php.net/viewvc.cgi/SVNROOT/commit-email.php?r1=1.8&r2=1.9&diff_format=u
Index: SVNROOT/commit-email.php
diff -u SVNROOT/commit-email.php:1.8 SVNROOT/commit-email.php:1.9
--- SVNROOT/commit-email.php:1.8	Sat Dec 20 19:12:48 2008
+++ SVNROOT/commit-email.php	Sat Dec 20 19:24:18 2008
@@ -7,7 +7,7 @@
 
 // -----------------------------------------------------------------------------------------------------------------------------
 // Constants
-$version = substr('$Revision: 1.8 $', strlen('$Revision: '), -2);
+$version = substr('$Revision: 1.9 $', strlen('$Revision: '), -2);
 $smtp_server = '127.0.0.1';
 $commit_email_list = array(
     // FastCGI ISAPI
@@ -109,7 +109,7 @@
 foreach ($usersDB as $userline) {
     list ($username, $fullname, $email) = explode(":", trim($userline));
     if ($username == $commit_user) {
-        $from = "\"{$fullname}\" <$email>";
+        $from = "\"{$fullname}\" <{$username}@php.net>";
         break;
     }
 }