Remove unused code
This commit is contained in:
parent
90df1b14f0
commit
a426fefd40
|
@ -51,9 +51,6 @@ if (isset($_GET["clickhouse"])) {
|
||||||
preg_match('~^(https?://)?(.*)~', $server, $match);
|
preg_match('~^(https?://)?(.*)~', $server, $match);
|
||||||
$this->_url = ($match[1] ? $match[1] : "http://") . "$username:$password@$match[2]";
|
$this->_url = ($match[1] ? $match[1] : "http://") . "$username:$password@$match[2]";
|
||||||
$return = $this->query('SELECT 1');
|
$return = $this->query('SELECT 1');
|
||||||
if ($return) {
|
|
||||||
//$this->server_info = $return['version']['number'];
|
|
||||||
}
|
|
||||||
return (bool) $return;
|
return (bool) $return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue