Merge pull request #1740 from mtmail/setupclass-index-outputfile-not-used

SetupClass.php: remove unused variable
This commit is contained in:
Sarah Hoffmann
2020-04-09 22:57:51 +02:00
committed by GitHub

View File

@@ -529,11 +529,10 @@ class SetupFunctions
public function index($bIndexNoanalyse) public function index($bIndexNoanalyse)
{ {
$sOutputFile = '';
$sBaseCmd = CONST_BasePath.'/nominatim/nominatim.py' $sBaseCmd = CONST_BasePath.'/nominatim/nominatim.py'
.' -d '.escapeshellarg($this->aDSNInfo['database']) .' -d '.escapeshellarg($this->aDSNInfo['database'])
.' -P '.escapeshellarg($this->aDSNInfo['port']) .' -P '.escapeshellarg($this->aDSNInfo['port'])
.' -t '.escapeshellarg($this->iInstances.$sOutputFile); .' -t '.escapeshellarg($this->iInstances);
if (!$this->bQuiet) { if (!$this->bQuiet) {
$sBaseCmd .= ' -v'; $sBaseCmd .= ' -v';
} }