Skip to content

Commit

Permalink
Fixes #222 . Fixed ShellDispatcher constructors to not issue warnings…
Browse files Browse the repository at this point in the history
… 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 49ad582
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions cake/console/cake.php
Expand Up @@ -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
*
Expand All @@ -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();
Expand Down

0 comments on commit 49ad582

Please sign in to comment.