Skip to content

Commit

Permalink
Merge branch '3.9' into 3
Browse files Browse the repository at this point in the history
  • Loading branch information
emteknetnz committed Mar 4, 2022
2 parents 9da3c2b + 30ed311 commit fad7c04
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/Solr/Reindex/Handlers/SolrReindexImmediateHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -79,12 +79,6 @@ protected function processGroup(
// Build script parameters
$statevar = json_encode($state);

if (strpos(PHP_OS, "WIN") !== false) {
$statevar = '"' . str_replace('"', '\\"', $statevar) . '"';
} else {
$statevar = "'" . $statevar . "'";
}

$php = Environment::getEnv('SS_PHP_BIN') ?: Config::inst()->get(static::class, 'php_bin');

// Build script line
Expand Down

0 comments on commit fad7c04

Please sign in to comment.