]> granicus.if.org Git - php/commitdiff
* ignore files in older releases (changelog)
authorStig Bakken <ssb@php.net>
Tue, 9 Apr 2002 21:48:19 +0000 (21:48 +0000)
committerStig Bakken <ssb@php.net>
Tue, 9 Apr 2002 21:48:19 +0000 (21:48 +0000)
pear/PEAR/Common.php

index 63696ed63038d4423dc9a4a3ce47ff626e41635e..105f691f141cf98944e29c33e7ccae822c088f72 100644 (file)
@@ -331,6 +331,9 @@ class PEAR_Common extends PEAR
                 }
                 break;
             case 'file':
+                if ($this->in_changelog) {
+                    break;
+                }
                 if (isset($attribs['name'])) {
                     $path = '';
                     if (count($this->dir_names)) {
@@ -488,6 +491,9 @@ class PEAR_Common extends PEAR
                 array_pop($this->dir_names);
                 break;
             case 'file':
+                if ($this->in_changelog) {
+                    break;
+                }
                 if ($data) {
                     $path = '';
                     if (count($this->dir_names)) {