Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,8 @@ public function optimize()
try
{
// Optimize the index
Indexer::getInstance()->optimize();
$indexer = new Indexer;
$indexer->optimize();

// Get the indexer state.
$state = Indexer::getState();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ public function __construct(&$subject, $config)
}

// Get the indexer object
$this->indexer = Indexer::getInstance();
$this->indexer = new Indexer;
}

/**
Expand Down
Loading