X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/5ddf77f59e531e7975ae2cdf381cbf5b60640bbc..b1b25d9a10ea7b97e12effc4313f140c17730c78:/sql/functions/ranking.sql?ds=sidebyside

diff --git a/sql/functions/ranking.sql b/sql/functions/ranking.sql
index 98e70a42..0c8f4c49 100644
--- a/sql/functions/ranking.sql
+++ b/sql/functions/ranking.sql
@@ -145,10 +145,6 @@ BEGIN
   THEN
     SELECT * INTO search_rank, address_rank
       FROM get_postcode_rank(country, postcode);
-
-    IF NOT extended_type = 'A' THEN
-      address_rank := 0;
-    END IF;
   ELSEIF extended_type = 'N' AND place_class = 'highway' THEN
     search_rank = 30;
     address_rank = 0;
