Skip to content
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...
tPl0ch authored and markstory committed Jan 19, 2010
1 parent 9f8e0e1 commit 49ad582759a764d6b9bb424280a5476022cc1bff
Showing with 1 addition and 10 deletions.
  1. +1 −10 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();

0 comments on commit 49ad582

Please sign in to comment.
You can’t perform that action at this time.