Permalink
Browse files

Fixes #222 . Fixed ShellDispatcher constructors to not issue warnings…

… on PHP5.3 with E_STRICT

Signed-off-by: Mark Story <mark@mark-story.com>
  • Loading branch information...
1 parent 9f8e0e1 commit 49ad582759a764d6b9bb424280a5476022cc1bff tPl0ch committed with markstory Jan 19, 2010
Showing with 1 addition and 10 deletions.
  1. +1 −10 cake/console/cake.php
View
@@ -120,15 +120,6 @@ class ShellDispatcher {
var $shellName = null;
/**
- * Constructs this ShellDispatcher instance.
- *
- * @param array $args the argv.
- */
- function ShellDispatcher($args = array()) {
- $this->__construct($args);
- }
-
-/**
* Constructor
*
* The execution of the script is stopped after dispatching the request with
@@ -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();

0 comments on commit 49ad582

Please sign in to comment.