]> git.openstreetmap.org Git - nominatim.git/commitdiff
Merge pull request #1740 from mtmail/setupclass-index-outputfile-not-used
authorSarah Hoffmann <lonvia@denofr.de>
Thu, 9 Apr 2020 20:57:51 +0000 (22:57 +0200)
committerGitHub <noreply@github.com>
Thu, 9 Apr 2020 20:57:51 +0000 (22:57 +0200)
SetupClass.php: remove unused variable

lib/setup/SetupClass.php

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