From 49ad582759a764d6b9bb424280a5476022cc1bff Mon Sep 17 00:00:00 2001 From: tPl0ch Date: Tue, 19 Jan 2010 09:06:00 +0100 Subject: [PATCH] Fixes #222 . Fixed ShellDispatcher constructors to not issue warnings on PHP5.3 with E_STRICT Signed-off-by: Mark Story --- cake/console/cake.php | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/cake/console/cake.php b/cake/console/cake.php index 7ec5c19bedc..01f32bafe11 100644 --- a/cake/console/cake.php +++ b/cake/console/cake.php @@ -119,15 +119,6 @@ class ShellDispatcher { */ var $shellName = null; -/** - * Constructs this ShellDispatcher instance. - * - * @param array $args the argv. - */ - function ShellDispatcher($args = array()) { - $this->__construct($args); - } - /** * Constructor * @@ -138,7 +129,7 @@ function ShellDispatcher($args = array()) { * @return void * @access public */ - function __construct($args = array()) { + function ShellDispatcher($args = array()) { set_time_limit(0); $this->__initConstants();