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:
tPl0ch 2010-01-19 09:06:00 +01:00 committed by Mark Story
parent 9f8e0e163e
commit 49ad582759

View file

@ -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 @@ class ShellDispatcher {
* @return void
* @access public
*/
function __construct($args = array()) {
function ShellDispatcher($args = array()) {
set_time_limit(0);
$this->__initConstants();