cvs: pear /Mail_Mime mimeDecode.php
| From: | David Croft | Date: | Tue, 21 May 2002 02:38:28 +0000 |
| Subject: | cvs: pear /Mail_Mime mimeDecode.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-4000@lists.php.net to get a copy of this message | ||
david Mon May 20 22:38:28 2002 EDT
Modified files:
/pear/Mail_Mime mimeDecode.php
Log:
can't use $this from a static method
# (not that I think it's a good idea to have a method available both
# as a class and instance method, especially with effectively different
# parameters. this should be split into two methods)
Index: pear/Mail_Mime/mimeDecode.php
diff -u pear/Mail_Mime/mimeDecode.php:1.30 pear/Mail_Mime/mimeDecode.php:1.31
--- pear/Mail_Mime/mimeDecode.php:1.30 Mon May 20 22:20:01 2002
+++ pear/Mail_Mime/mimeDecode.php Mon May 20 22:38:28 2002
@@ -48,7 +48,7 @@
* perhaps even message/partial.
*
* @author Richard Heyes <richard@phpguru.org>
-* @version $Revision: 1.30 $
+* @version $Revision: 1.31 $
* @package Mail
*/
@@ -156,7 +156,7 @@
// Called statically but no input
} elseif (!isset($this->mailMimeDecode)) {
- return $this->raiseError('Called statically and no input given');
+ return PEAR::raiseError('Called statically and no input given');
// Called via an object
} else {