Merge pull request #351 from LeviWB/fix/remove-undefined-method

FIX Remove call to process::inheritEnvironmentVariables()
This commit is contained in:
Guy Sartorelli 2023-08-10 11:26:45 +12:00 committed by GitHub
commit 8ef542d4e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -104,7 +104,6 @@ class SolrReindexImmediateHandler extends SolrReindexBase
// Set timeout from config. Process default is 60 seconds // Set timeout from config. Process default is 60 seconds
$process->setTimeout($this->config()->get('process_timeout')); $process->setTimeout($this->config()->get('process_timeout'));
$process->inheritEnvironmentVariables();
$process->run(); $process->run();
$res = $process->getOutput(); $res = $process->getOutput();