]> git.openstreetmap.org Git - rails.git/commitdiff
Remove unused includes of ConsistencyValidations
authorAnton Khorev <tony29@yandex.ru>
Thu, 28 Mar 2024 08:49:49 +0000 (11:49 +0300)
committerAnton Khorev <tony29@yandex.ru>
Thu, 28 Mar 2024 08:49:49 +0000 (11:49 +0300)
app/controllers/changesets_controller.rb
app/models/old_node.rb
app/models/old_relation.rb
app/models/old_way.rb
lib/diff_reader.rb

index 613a3ee2a9f919522a060361c063052c020ea879..50eb01800f54a01c04d24b04b28fbb0785b8341d 100644 (file)
@@ -16,9 +16,6 @@ class ChangesetsController < ApplicationController
 
   around_action :web_timeout
 
-  # Helper methods for checking consistency
-  include ConsistencyValidations
-
   ##
   # list non-empty changesets in reverse chronological order
   def index
index 3ec5cd4152939a24bf1816045dfe66bc23b4a262..b323f0b4f0eb65bef77b0750008d6a3d95d326cf 100644 (file)
@@ -26,7 +26,6 @@
 
 class OldNode < ApplicationRecord
   include GeoRecord
-  include ConsistencyValidations
 
   self.table_name = "nodes"
 
index 5ff12fd586bfb742d2f523bacbf6602df384cec9..7d5a3fbb4096e3c8e077a9595d8ec067ef969638 100644 (file)
@@ -21,8 +21,6 @@
 #
 
 class OldRelation < ApplicationRecord
-  include ConsistencyValidations
-
   self.table_name = "relations"
 
   # NOTE: this needs to be included after the table name changes, or
index a55d3ed004a72bc678b959022e60ac33661ec199..8577330c52823dd808e5128b7047f7a17dcd9c5a 100644 (file)
@@ -21,8 +21,6 @@
 #
 
 class OldWay < ApplicationRecord
-  include ConsistencyValidations
-
   self.table_name = "ways"
 
   # NOTE: this needs to be included after the table name changes, or
index d1987a93622f0d1a44eb128555f6f6cc4258bd26..2784646afecbcf6fbcca3c02141bbd6671a3b75f 100644 (file)
@@ -4,8 +4,6 @@
 # Uses the streaming LibXML "Reader" interface to cut down on memory
 # usage, so hopefully we can process fairly large diffs.
 class DiffReader
-  include ConsistencyValidations
-
   # maps each element type to the model class which handles it
   MODELS = {
     "node" => Node,