Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge branch '7.2'
  • Loading branch information
andrerom committed Sep 19, 2018
2 parents a98e2bf + b67b8a4 commit 7458b67
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions eZ/Bundle/EzPublishCoreBundle/Command/ReindexCommand.php
Expand Up @@ -375,12 +375,12 @@ private function fetchIteration(Statement $stmt, $iterationCount)
*/
private function getPhpProcess(array $contentIds, $commit)
{
$process = new ProcessBuilder([
$process = new ProcessBuilder(array_filter([
file_exists('bin/console') ? 'bin/console' : 'app/console',
$this->siteaccess ? '--siteaccess=' . $this->siteaccess : null,
'ezplatform:reindex',
'--content-ids=' . implode(',', $contentIds),
]);
]));
$process->setTimeout(null);
$process->setPrefix($this->getPhpPath());

Expand Down

0 comments on commit 7458b67

Please sign in to comment.