cvs: php4 /pear PEAR_Error.php /pear/File Find.php

From: Date: Sun, 23 Jul 2000 17:10:06 +0000
Subject: cvs: php4 /pear PEAR_Error.php /pear/File Find.php
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-874@lists.php.net to get a copy of this message
sterling Sun Jul 23 10:10:06 2000 EDT Modified files: /php4/pear PEAR_Error.php /php4/pear/File Find.php Log: Remove $file and $line. Index: php4/pear/PEAR_Error.php diff -u php4/pear/PEAR_Error.php:1.1 php4/pear/PEAR_Error.php:1.2 --- php4/pear/PEAR_Error.php:1.1 Fri Jul 21 11:34:37 2000 +++ php4/pear/PEAR_Error.php Sun Jul 23 10:10:06 2000 @@ -16,7 +16,7 @@ // | Authors: Sterling Hughes <sterling@php.net> | // +----------------------------------------------------------------------+ // -// $Id: PEAR_Error.php,v 1.1 2000/07/21 18:34:37 sterling Exp $ +// $Id: PEAR_Error.php,v 1.2 2000/07/23 17:10:06 sterling Exp $ // // Commonly needed functions searching directory trees // @@ -39,17 +39,13 @@ var $trigger_error = false; var $message = ''; - var $file = ''; - var $line = 0; /* * constructor, set the basics... */ - function PEAR_Error ($message, $file = __FILE__, $line = __LINE__) + function PEAR_Error ($message) { $this->message = $message; - $this->file = $file; - $this->line = $line; } /* Index: php4/pear/File/Find.php diff -u php4/pear/File/Find.php:1.6 php4/pear/File/Find.php:1.7 --- php4/pear/File/Find.php:1.6 Sun Jul 23 10:00:45 2000 +++ php4/pear/File/Find.php Sun Jul 23 10:10:06 2000 @@ -16,7 +16,7 @@ // | Authors: Sterling Hughes <sterling@php.net> | // +----------------------------------------------------------------------+ // -// $Id: Find.php,v 1.6 2000/07/23 17:00:45 sterling Exp $ +// $Id: Find.php,v 1.7 2000/07/23 17:10:06 sterling Exp $ // // Commonly needed functions searching directory trees // @@ -173,12 +173,12 @@ class FileFindException extends PEAR_Error { - var $classname = 'ExceptionFileFind'; - var $error_message_prepend = 'Error in ExceptionFileFind'; + var $classname = 'FileFindException'; + var $error_message_prepend = 'Error in File_Find'; - function FileFindException ($message, $file = __FILE__, $line = __LINE__) + function FileFindException ($message) { - PEAR_Error::PEAR_Error ($message, $file, $line); + PEAR_Error::PEAR_Error ($message); } }

« previous php.cvs (#874) next »