summaryrefslogtreecommitdiff
path: root/pear
diff options
context:
space:
mode:
authorTomas V.V.Cox <cox@php.net>2001-12-17 15:33:34 +0000
committerTomas V.V.Cox <cox@php.net>2001-12-17 15:33:34 +0000
commit47419f899f88af6d58b2216d1db71be9edb4f85e (patch)
tree2cf65e2edf41a10f3aa01b63ad217c60219fd918 /pear
parent1524fa7287181c4dec5d8a58d2704334fc8ed6ed (diff)
downloadphp-git-47419f899f88af6d58b2216d1db71be9edb4f85e.tar.gz
call PEAR::raiseError() instead of $this->raiseError() in factory()
Diffstat (limited to 'pear')
-rw-r--r--pear/Mail.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/pear/Mail.php b/pear/Mail.php
index ef4a3fc050..0141faaecb 100644
--- a/pear/Mail.php
+++ b/pear/Mail.php
@@ -48,7 +48,7 @@ class Mail extends PEAR
if (class_exists($class)) {
return new $class($params);
} else {
- return $this->raiseError('Unable to find class for driver ' . $driver);
+ return PEAR::raiseError('Unable to find class for driver ' . $driver);
}
}