]> git.joonet.de Git - adminer.git/commitdiff
Remove unused code
authorJakub Vrana <jakub@vrana.cz>
Wed, 19 Sep 2018 09:16:21 +0000 (11:16 +0200)
committerJakub Vrana <jakub@vrana.cz>
Wed, 19 Sep 2018 09:16:21 +0000 (11:16 +0200)
adminer/drivers/clickhouse.inc.php

index 3769119e93a9d07b7926b84793ace799d4846695..edfa5f37538885ff2f34741c639a65f0f150ec1a 100644 (file)
@@ -51,9 +51,6 @@ if (isset($_GET["clickhouse"])) {
                        preg_match('~^(https?://)?(.*)~', $server, $match);
                        $this->_url = ($match[1] ? $match[1] : "http://") . "$username:$password@$match[2]";
                        $return = $this->query('SELECT 1');
-                       if ($return) {
-                               //$this->server_info = $return['version']['number'];
-                       }
                        return (bool) $return;
                }