remove reverseInPlan option from Geocode

Disabling query reversal is no longer possible in the configuration,
so there is no need to keep this as an option. Reversal is
automatically disabled for structured search only.
This commit is contained in:
Sarah Hoffmann
2021-04-08 10:19:27 +02:00
parent 492186716f
commit 534de5ba81
2 changed files with 1 additions and 10 deletions

View File

@@ -79,7 +79,6 @@ if (!$oParams->hasSetAny($aSearchParams)) {
$oGeocode = new Nominatim\Geocode($oDB);
$oGeocode->setLanguagePreference($oParams->getPreferredLanguages(false));
$oGeocode->setReverseInPlan(true);
$oGeocode->loadParamArray($oParams);
if ($oParams->getBool('search')) {