]> git.openstreetmap.org Git - rails.git/commitdiff
Remove unused xml_parse method
authorAnton Khorev <tony29@yandex.ru>
Wed, 14 Aug 2024 02:58:17 +0000 (05:58 +0300)
committerAnton Khorev <tony29@yandex.ru>
Wed, 14 Aug 2024 02:58:17 +0000 (05:58 +0300)
test/controllers/api/nodes_controller_test.rb

index d70c92861e9b563f7df5eab1fb933dfce1ead943..d9fabb012e18b21d0152cb2653e0a7f37e9dc470 100644 (file)
@@ -639,12 +639,5 @@ module Api
       xml.find("//osm/node").first[name] = value.to_s
       xml
     end
       xml.find("//osm/node").first[name] = value.to_s
       xml
     end
-
-    ##
-    # parse some xml
-    def xml_parse(xml)
-      parser = XML::Parser.string(xml)
-      parser.parse
-    end
   end
 end
   end
 end