public function resetLogErrorsAction()
    {
        $resetResult = $this->indexQueue->resetAllErrors();

        $label = 'solr.backend.index_queue_module.flashmessage.success.reset_errors';
        $severity = FlashMessage::OK;
        if (!$resetResult) {
            $label = 'solr.backend.index_queue_module.flashmessage.error.reset_errors';
            $severity = FlashMessage::ERROR;
        }

        $this->addIndexQueueFlashMessage($label, $severity);

        $this->redirect('index');
    }
public function resetLogErrorsAction()
    {
        $resetResult = $this->indexQueue->resetAllErrors();

        $label = 'solr.backend.index_queue_module.flashmessage.success.reset_errors';
        $severity = FlashMessage::OK;
        if (!$resetResult) {
            $label = 'solr.backend.index_queue_module.flashmessage.error.reset_errors';
            $severity = FlashMessage::ERROR;
        }

        $this->addIndexQueueFlashMessage($label, $severity);

        $this->redirect('index');
    }
public function resetLogErrorsAction ( ) { $ resetResult = $ this -> indexQueue -> resetAllErrors ( ) ; $ label = 'solr.backend.index_queue_module.flashmessage.success.reset_errors' ; $ severity = FlashMessage :: OK ; if ( ! $ resetResult ) { $ label = 'solr.backend.index_queue_module.flashmessage.error.reset_errors' ; $ severity = FlashMessage :: ERROR ; } $ this -> addIndexQueueFlashMessage ( $ label , $ severity ) ; $ this -> redirect ( 'index' ) ; }
Removes all errors in the index queue list. So that the items can be indexed again.

@return void
Removes all errors in the index queue list . So that the items can be indexed again .