cvs: pear-core /PEAR/PackageFile v2.php
| From: | Greg Beaver | Date: | Tue, 26 Oct 2004 19:43:28 +0000 |
| Subject: | cvs: pear-core /PEAR/PackageFile v2.php | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-cvs+get-25260@lists.php.net to get a copy of this message | ||
cellog Tue Oct 26 15:43:28 2004 EDT
Modified files:
/pear-core/PEAR/PackageFile v2.php
Log:
remove bad validation check for <ignore> tag
http://cvs.php.net/diff.php/pear-core/PEAR/PackageFile/v2.php?r1=1.35&r2=1.36&ty=u
Index: pear-core/PEAR/PackageFile/v2.php
diff -u pear-core/PEAR/PackageFile/v2.php:1.35 pear-core/PEAR/PackageFile/v2.php:1.36
--- pear-core/PEAR/PackageFile/v2.php:1.35 Fri Oct 22 11:34:55 2004
+++ pear-core/PEAR/PackageFile/v2.php Tue Oct 26 15:43:28 2004
@@ -17,7 +17,7 @@
// | |
// +----------------------------------------------------------------------+
//
-// $Id: v2.php,v 1.35 2004/10/22 15:34:55 cellog Exp $
+// $Id: v2.php,v 1.36 2004/10/26 19:43:28 cellog Exp $
require_once 'PEAR/ErrorStack.php';
require_once 'PEAR/PackageFile/Generator/v2.php';
/**
@@ -2484,10 +2484,6 @@
return $this->_tagHasNoAttribs('ignore',
'<dir name="' .
$list['attribs']['name'] . '">');
}
- if (!isset($list['ignore']['attribs'])) {
- return $this->_tagHasNoAttribs('ignore',
- '<dir name="' .
$list['attribs']['name'] . '">');
- }
if (!isset($file['attribs']['name'])) {
return $this->_tagMissingAttribute('ignore', 'name',
'<dir name="' .
$list['attribs']['name'] . '">');