mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +00:00
Fixes #222 . Fixed ShellDispatcher constructors to not issue warnings on PHP5.3 with E_STRICT
Signed-off-by: Mark Story <mark@mark-story.com>
This commit is contained in:
parent
9f8e0e163e
commit
49ad582759
1 changed files with 1 additions and 10 deletions
|
@ -119,15 +119,6 @@ class ShellDispatcher {
|
||||||
*/
|
*/
|
||||||
var $shellName = null;
|
var $shellName = null;
|
||||||
|
|
||||||
/**
|
|
||||||
* Constructs this ShellDispatcher instance.
|
|
||||||
*
|
|
||||||
* @param array $args the argv.
|
|
||||||
*/
|
|
||||||
function ShellDispatcher($args = array()) {
|
|
||||||
$this->__construct($args);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructor
|
* Constructor
|
||||||
*
|
*
|
||||||
|
@ -138,7 +129,7 @@ class ShellDispatcher {
|
||||||
* @return void
|
* @return void
|
||||||
* @access public
|
* @access public
|
||||||
*/
|
*/
|
||||||
function __construct($args = array()) {
|
function ShellDispatcher($args = array()) {
|
||||||
set_time_limit(0);
|
set_time_limit(0);
|
||||||
|
|
||||||
$this->__initConstants();
|
$this->__initConstants();
|
||||||
|
|
Loading…
Reference in a new issue