cvs: pearweb /include pear-database.php
| From: | Tomas V.V.Cox | Date: | Sun, 07 Apr 2002 22:14:23 +0000 |
| Subject: | cvs: pearweb /include pear-database.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-3120@lists.php.net to get a copy of this message | ||
cox Sun Apr 7 18:14:23 2002 EDT
Modified files:
/pearweb/include pear-database.php
Log:
The licence should be updated also
Index: pearweb/include/pear-database.php
diff -u pearweb/include/pear-database.php:1.70 pearweb/include/pear-database.php:1.71
--- pearweb/include/pear-database.php:1.70 Sun Apr 7 18:08:01 2002
+++ pearweb/include/pear-database.php Sun Apr 7 18:14:23 2002
@@ -17,7 +17,7 @@
| Tomas V.V.Cox <cox@php.net> |
| Martin Jansen <mj@php.net> |
+----------------------------------------------------------------------+
- $Id: pear-database.php,v 1.70 2002/04/07 22:08:01 cox Exp $
+ $Id: pear-database.php,v 1.71 2002/04/07 22:14:23 cox Exp $
*/
require_once 'DB/storage.php';
@@ -415,8 +415,8 @@
if (PEAR::isError($package_id) || empty($package_id)) {
return PEAR::raiseError("package `$package' must be registered first");
}
- // XXX (cox) what about 'name' & 'license'?
- $allowed = array('summary', 'description', 'category');
+ // XXX (cox) what about 'name'?
+ $allowed = array('license', 'summary', 'description',
'category');
$fields = $prep = array();
foreach($allowed as $a) {
if (isset($data[$a])) {