svn: /web/php-master/trunk/entry/ svn-account.php

From: Date: Wed, 26 Aug 2009 14:53:11 +0000
Subject: svn: /web/php-master/trunk/entry/ svn-account.php
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-5738@lists.php.net to get a copy of this message
philip Wed, 26 Aug 2009 14:53:11 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=287754 Log: CVS->SVN # Still some $cvspasswd versus $svnpasswd cleanup is needed Changed paths: U web/php-master/trunk/entry/svn-account.php Modified: web/php-master/trunk/entry/svn-account.php =================================================================== --- web/php-master/trunk/entry/svn-account.php 2009-08-26 14:50:38 UTC (rev 287753) +++ web/php-master/trunk/entry/svn-account.php 2009-08-26 14:53:11 UTC (rev 287754) @@ -57,7 +57,7 @@ $res = @mysql_query("SELECT userid FROM users WHERE username='$username'"); if ($res && mysql_num_rows($res)) - die("someone is already using that cvs id"); + die("someone is already using that svn id"); # TODO: fail if someone with that email address has an account. right now # this goes to the failto address since there's no password recovery @@ -83,7 +83,7 @@ // The PEAR guys don't want these requests to their -dev@ list, only -group@ if ($group != "pear") { - mail($mailto,"CVS Account Request: $username",$msg,"From: $from\r\nMessage-ID: <cvs-account-$new_id@php.net>", "-fnoreply@php.net"); + mail($mailto,"SVN Account Request: $username",$msg,"From: $from\r\nMessage-ID: <cvs-account-$new_id@php.net>", "-fnoreply@php.net"); } $msg .= "\n-- \n"; @@ -91,14 +91,14 @@ $msg .= "reject: https://master.php.net/manage/users.php?action=remove&id=$new_id\n"; $msg .= "view: https://master.php.net/manage/users.php?id=$new_id\n"; - mail($failto,"CVS Account Request: $username",$msg,"From: $from\r\nMessage-ID: <cvs-account-$new_id-admin@php.net>", "-fnoreply@php.net"); + mail($failto,"SVN Account Request: $username",$msg,"From: $from\r\nMessage-ID: <cvs-account-$new_id-admin@php.net>", "-fnoreply@php.net"); } else { - mail($failto,"CVS Account Request: $username", + mail($failto,"SVN Account Request: $username", "Failed to insert into database: ".mysql_error()."\n\n". "Full name: $name\n". "Email: $email\n". "ID: $username\n". "Password: $cvspasswd\n". "Purpose: $note", - "From: \"CVS Account Request\" <$email>"); + "From: \"SVN Account Request\" <$email>"); }

« previous php.webmaster (#5738) next »