#23320 [Opn->Csd]: Package Log, file /Log/mail.php, class Log_mail no longer inherits from PEAR
| From: | arnaud@php.net | Date: | Mon, 28 Apr 2003 08:01:44 +0000 |
| Subject: | #23320 [Opn->Csd]: Package Log, file /Log/mail.php, class Log_mail no longer inherits from PEAR | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-15629@lists.php.net to get a copy of this message | ||
ID: 23320
Updated by: arnaud@php.net
Reported By: rob at intruos dot com
-Status: Open
+Status: Closed
Bug Type: PEAR related
Operating System: Redhat 7.2
PHP Version: 4.3.1
-Assigned To:
+Assigned To: jon@php.net
New Comment:
From lastest log release announcement
The new PEAR package Log-1.6.5 (stable) has been released at
http://pear.php.net/.
Release notes
-------------
The mail log handler needs to register its own destructer now that the
Log class no longer inherits from the PEAR base class.
So it looks like it is good for closing :)
Previous Comments:
------------------------------------------------------------------------
[2003-04-23 13:09:09] rob at intruos dot com
When using the Log package and the Log_mail class I receive an error:
Call to undefined function: pear() in /usr/share/pear/Log/mail.php on
line 80
I'm looking at the CVS tree and you've got the Log_mail extending Log
which isn't extending PEAR so the following line faults:
/* register the destructor */
$this->PEAR();
I'm assuming that this file was just overlooked. Log_file works fine.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=23320&edit=1