Skip to content

Commit

Permalink
Merge pull request #61 from bakaphp/hotfix-remove-guzzle-elastic
Browse files Browse the repository at this point in the history
[0.7] Update Elastic
  • Loading branch information
kaioken authored Dec 31, 2020
2 parents 46bdb7f + a525fe4 commit 166de9b
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/Elasticsearch/Query.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
use Baka\Elasticsearch\Query\FromClause;
use function Baka\envValue;
use Baka\Exception\Exception;
use GuzzleHttp\Client as GuzzleClient;
use Phalcon\Di;
use Phalcon\Mvc\Model\Query\Builder;
use SplFixedArray;
Expand Down Expand Up @@ -51,10 +50,6 @@ public function getHost() : string
*/
public function find() : array
{
$client = new GuzzleClient([
'base_uri' => $this->getHost()
]);

if (envValue('ELASTIC_SEARCH_QUERY_DEBUG', false)) {
Di::getDefault()->get('log')->info('ELASTICSQL', [$this->sql]);
}
Expand Down

0 comments on commit 166de9b

Please sign in to comment.