forked from hans/Nominatim
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:
@@ -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')) {
|
||||
|
||||
Reference in New Issue
Block a user