From 7e0b0798997b197d57d09ef5e690afdb1e6a2712 Mon Sep 17 00:00:00 2001 From: xue <> Date: Thu, 29 Dec 2005 01:16:29 +0000 Subject: Changed module init() method signature. --- framework/Exceptions/TErrorHandler.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'framework/Exceptions') diff --git a/framework/Exceptions/TErrorHandler.php b/framework/Exceptions/TErrorHandler.php index c8137a09..fec4ce00 100644 --- a/framework/Exceptions/TErrorHandler.php +++ b/framework/Exceptions/TErrorHandler.php @@ -74,10 +74,8 @@ class TErrorHandler extends TModule * This method is required by IModule and is invoked by application. * @param TXmlElement module configuration */ - public function init($config=null) + public function init($config) { - parent::init($config); - $this->getApplication()->setErrorHandler($this); } -- cgit v1.2.3