cvs: pearweb /public_html package-info.php
| From: | Martin Jansen | Date: | Fri, 08 Feb 2002 14:42:17 +0000 |
| Subject: | cvs: pearweb /public_html package-info.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-2333@lists.php.net to get a copy of this message | ||
mj Fri Feb 8 09:42:17 2002 EDT
Modified files:
/pearweb/public_html package-info.php
Log:
* Remove bogus code.
Index: pearweb/public_html/package-info.php
diff -u pearweb/public_html/package-info.php:1.5 pearweb/public_html/package-info.php:1.6
--- pearweb/public_html/package-info.php:1.5 Fri Feb 8 09:40:09 2002
+++ pearweb/public_html/package-info.php Fri Feb 8 09:42:17 2002
@@ -30,15 +30,6 @@
exit();
}
-$package_infos = $dbh->getAll("SELECT * FROM package_info WHERE package = '" .
$pacid . "'");
-
-if (DB::isError($package_infos)) {
- response_header("Error");
- PEAR::raiseError("");
- response_footer();
- exit();
-}
-
$name = $row['name'];
$summary = stripslashes($row['summary']);
$license = $row['license'];