mirror of
https://github.com/OpenXE-org/OpenXE.git
synced 2024-12-26 22:50:29 +01:00
15 lines
404 B
PHP
15 lines
404 B
PHP
|
<?php
|
||
|
|
||
|
use Xentral\Modules\SuperSearch\Scheduler\SuperSearchFullIndexTask;
|
||
|
|
||
|
try {
|
||
|
/** @var SuperSearchFullIndexTask $supersearchFullIndexTask */
|
||
|
$supersearchFullIndexTask = $app->Container->get('SuperSearchFullIndexTask');
|
||
|
$supersearchFullIndexTask->execute();
|
||
|
$supersearchFullIndexTask->cleanup();
|
||
|
|
||
|
} catch (\Exception $exception) {
|
||
|
$supersearchFullIndexTask->cleanup();
|
||
|
throw $exception;
|
||
|
}
|