]> granicus.if.org Git - php/commitdiff
- Damn forgot to remove the debug code
authorMarcus Boerger <helly@php.net>
Fri, 21 Mar 2008 23:31:31 +0000 (23:31 +0000)
committerMarcus Boerger <helly@php.net>
Fri, 21 Mar 2008 23:31:31 +0000 (23:31 +0000)
ext/phar/phar/pharcommand.inc

index f3426423c966b7f0a4a84e3761bdede7329825ff..d2b6f3dace28acde8d8ed37457e2f6e578b65f30 100755 (executable)
@@ -1384,7 +1384,7 @@ class PharCommand extends CLICommand
         $mcount  = 0;
         $compalg = array('GZ'=>0, 'BZ2'=>0);
 var_dump($phar);
-try {
+
         foreach(new RecursiveIteratorIterator($phar) as $ent) {
             $count++;
             if ($ent->isCompressed()) {
@@ -1406,7 +1406,7 @@ try {
                 $mcount++;
             }
         }
-} catch(Exception $e) {echo $e;}
+
         $infos['Entries']            = $count;
         $infos['Uncompressed-files'] = $ucount;
         $infos['Compressed-files']   = $ccount;