Remove unused includes of ConsistencyValidations

This commit is contained in:
Anton Khorev 2024-03-28 11:49:49 +03:00
parent 99bed16f9a
commit 16cc2e75a7
5 changed files with 0 additions and 10 deletions

View 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

View file

@ -26,7 +26,6 @@
class OldNode < ApplicationRecord
include GeoRecord
include ConsistencyValidations
self.table_name = "nodes"

View 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

View 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

View 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,