From: Tomas V.V.Cox Date: Mon, 17 Dec 2001 15:33:34 +0000 (+0000) Subject: call PEAR::raiseError() instead of $this->raiseError() in factory() X-Git-Tag: PRE_ISSET_PATCH~495 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=47419f899f88af6d58b2216d1db71be9edb4f85e;p=php call PEAR::raiseError() instead of $this->raiseError() in factory() --- 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); } }