cvs: php4 /pear/File Find.php
| From: | Jan Lehnardt | Date: | Tue, 22 Jan 2002 11:31:25 +0000 |
| Subject: | cvs: php4 /pear/File Find.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-2051@lists.php.net to get a copy of this message | ||
jan Tue Jan 22 06:31:25 2002 EDT
Modified files:
/php4/pear/File Find.php
Log:
- whitespace fix
Index: php4/pear/File/Find.php
diff -u php4/pear/File/Find.php:1.20 php4/pear/File/Find.php:1.21
--- php4/pear/File/Find.php:1.20 Tue Jan 22 06:28:30 2002
+++ php4/pear/File/Find.php Tue Jan 22 06:31:25 2002
@@ -16,7 +16,7 @@
// | Authors: Sterling Hughes <sterling@php.net> |
// +----------------------------------------------------------------------+
//
-// $Id: Find.php,v 1.20 2002/01/22 11:28:30 jan Exp $
+// $Id: Find.php,v 1.21 2002/01/22 11:31:25 jan Exp $
//
require_once 'PEAR.php';
@@ -25,7 +25,7 @@
* Commonly needed functions searching directory trees
*
* @access public
-* @version $Id: Find.php,v 1.20 2002/01/22 11:28:30 jan Exp $
+* @version $Id: Find.php,v 1.21 2002/01/22 11:31:25 jan Exp $
* @package File
* @author Sterling Hughes <sterling@php.net>
*/
@@ -134,7 +134,7 @@
* @access public
*/
function &search ($pattern, $directory, $type='php') {
- $matches = array();
+ $matches = array();
list (,$files) = File_Find::maptree($directory);
$match_function = File_Find::_determineRegex($pattern, $type);