Skip to content

Commit

Permalink
Update TNTSearchEngine.php
Browse files Browse the repository at this point in the history
  • Loading branch information
nticaric committed Jul 14, 2023
1 parent 984ab4c commit e9d912c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/Engines/TNTSearchEngine.php
Original file line number Diff line number Diff line change
Expand Up @@ -316,8 +316,6 @@ public function initIndex($model)
$indexName = $model->searchableAs();

if ($this->tnt->config['engine'] == "TeamTNT\TNTSearch\Engines\RedisEngine") {
$indexer->setDatabaseHandle($model->getConnection()->getPdo());
$indexer->setPrimaryKey($model->getKeyName());
return;
}

Expand Down

0 comments on commit e9d912c

Please sign in to comment.