Skip to content
This repository has been archived by the owner on Jul 17, 2024. It is now read-only.

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosescri committed Feb 21, 2020
2 parents 2b61f5c + e47b825 commit 7fb1284
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doofinder/includes/api/class-doofinder-api.php
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ public function remove_types() {
// Doofinder API will throw an exception in case of invalid token
// or something like that.
try {
$this->search_engine->deleteType( $this->search_engine->getTypes() );
$this->search_engine->deleteType( Settings::get_post_types_to_index() );

return Api_Status::$success;
} catch ( IndexingInProgress $exception ) {
Expand Down

0 comments on commit 7fb1284

Please sign in to comment.