]> git.openstreetmap.org Git - nominatim.git/blobdiff - utils/importWikipedia.php
half-reverting 51155b63, We dont need two of three break statements after all
[nominatim.git] / utils / importWikipedia.php
index 0e532cd9923a6a18a066ca38aa4260c478ec5ab2..6138398bfd63e638dc1b1d0fd16b9e7a6aa588fd 100755 (executable)
@@ -393,7 +393,7 @@ if (isset($aCMDResult['link'])) {
                 break;
             case 'prefecture japan':
                 $aRecord['name'] = trim(str_replace(' Prefecture', ' ', $aRecord['name']));
-                break;
+                // intentionally no break
             case 'state':
             case '#us state':
             case 'county':
@@ -420,7 +420,7 @@ if (isset($aCMDResult['link'])) {
                 break;
             case 'settlement':
                 $bUnknown = true;
-                break;
+                // intentionally no break
             case 'french commune':
             case 'italian comune':
             case 'uk place':