diff --git a/workflow/engine/classes/Net.php b/workflow/engine/classes/Net.php index cd6569207..69bbef50a 100644 --- a/workflow/engine/classes/Net.php +++ b/workflow/engine/classes/Net.php @@ -26,42 +26,6 @@ class Net } } - /** - * This function is the constructor of the class net - * - * return void - */ - public function __construct0() - { - $this->errno = 0; - $this->error = ""; - } - - /** - * This function is the constructor of the class net - * - * @param string $pHost - * @return void - */ - public function __construct1($pHost) - { - $this->errno = 0; - $this->errstr = ""; - $this->db_instance = ""; - - unset($this->db_user); - unset($this->db_passwd); - unset($this->db_sourcename); - - #verifing valid param - if ($pHost == "") { - $this->errno = 1000; - $this->errstr = "NET::You must specify a host"; - //$this->showMsg(); - } - $this->resolv($pHost); - } - /** * This function puts a host * diff --git a/workflow/engine/src/ProcessMaker/Services/Api.php b/workflow/engine/src/ProcessMaker/Services/Api.php index bcaf29d00..416e15fc0 100644 --- a/workflow/engine/src/ProcessMaker/Services/Api.php +++ b/workflow/engine/src/ProcessMaker/Services/Api.php @@ -17,7 +17,7 @@ abstract class Api const STAT_CREATED = 201; const STAT_APP_EXCEPTION = 400; - public function __costruct() + public function __construct() { self::$workspace = null; }