cvs: pearweb /public_html/bugs bug.php report.php
| From: | Martin Jansen | Date: | Sun, 18 Jan 2004 20:59:01 +0000 |
| Subject: | cvs: pearweb /public_html/bugs bug.php report.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-15770@lists.php.net to get a copy of this message | ||
mj Sun Jan 18 15:59:01 2004 EDT
Modified files:
/pearweb/public_html/bugs bug.php report.php
Log:
* Removing unused code.
Index: pearweb/public_html/bugs/bug.php
diff -u pearweb/public_html/bugs/bug.php:1.6 pearweb/public_html/bugs/bug.php:1.7
--- pearweb/public_html/bugs/bug.php:1.6 Sun Jan 4 07:58:20 2004
+++ pearweb/public_html/bugs/bug.php Sun Jan 18 15:59:01 2004
@@ -11,19 +11,6 @@
require_once './include/cvs-auth.inc';
require_once './include/trusted-devs.inc';
-$mail_bugs_to = 'php-bugs@lists.php.net';
-
-/*
-if (isset($save) && isset($pw)) { # non-developers don't have $user set
- setcookie("MAGIC_COOKIE",
- base64_encode("$user:$pw"),
- time()+3600*24*12,
- '/','.php.net');
-}
-if (isset($MAGIC_COOKIE) && !isset($user) && !isset($pw)) {
- list($user,$pw) = explode(":", base64_decode($MAGIC_COOKIE));
-}
-*/
if (isset($_COOKIE['PEAR_USER']) && isset($_COOKIE['PEAR_PW'])) {
$user = $_COOKIE['PEAR_USER'];
$pw = $_COOKIE['PEAR_PW'];
Index: pearweb/public_html/bugs/report.php
diff -u pearweb/public_html/bugs/report.php:1.12 pearweb/public_html/bugs/report.php:1.13
--- pearweb/public_html/bugs/report.php:1.12 Sun Jan 18 13:39:57 2004
+++ pearweb/public_html/bugs/report.php Sun Jan 18 15:59:01 2004
@@ -16,13 +16,6 @@
/* See bugs.sql for the table layout. */
-$mail_bugs_to = "php-bugs@lists.php.net";
-
-/*
-@mysql_connect("localhost","nobody","")
- or die("Unable to connect to SQL server.");
-@mysql_select_db("php3");
-*/
$errors = array();
if ($in) {
if (!($errors = incoming_details_are_valid($_POST['in'], 1))) {