summaryrefslogtreecommitdiff
path: root/framework/Exceptions
diff options
context:
space:
mode:
authorxue <>2005-12-29 01:16:29 +0000
committerxue <>2005-12-29 01:16:29 +0000
commit7e0b0798997b197d57d09ef5e690afdb1e6a2712 (patch)
tree4b4b0901508713d49ddead72324ae60c8b56f1de /framework/Exceptions
parentccdb91a35602377fe389c6c5b0945478929e0eca (diff)
Changed module init() method signature.
Diffstat (limited to 'framework/Exceptions')
-rw-r--r--framework/Exceptions/TErrorHandler.php4
1 files changed, 1 insertions, 3 deletions
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);
}