Merged in bugfix/HOR-3765 (pull request #5998)
HOR-3765 Approved-by: Paula Quispe <paula.quispe@processmaker.com> Approved-by: Julio Cesar Laura Avendaño <contact@julio-laura.com>
This commit is contained in:
committed by
Julio Cesar Laura Avendaño
commit
2a31c2b872
@@ -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
|
||||
*
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user