Total Complexity | 1 |
Total Lines | 26 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
25 | class ClearErrorsTask extends BuildTask |
||
26 | { |
||
27 | /** |
||
28 | * @var string URLSegment |
||
29 | */ |
||
30 | private static $segment = 'SolrClearErrorsTask'; |
||
31 | /** |
||
32 | * @var string Title |
||
33 | */ |
||
34 | protected $title = 'Clear out all errors from Solr in the database'; |
||
35 | /** |
||
36 | * @var string Description |
||
37 | */ |
||
38 | protected $description = 'Remove all errors in the database that are related to Solr indexing/configuring etc.'; |
||
39 | |||
40 | /** |
||
41 | * Run the truncate of the SolrLog table |
||
42 | * @inheritDoc |
||
43 | */ |
||
44 | 1 | public function run($request) |
|
53 |