Remove unused code in globalizable concern
This code was added in commit 041abe904, but it was never used.
This commit is contained in:
@@ -13,10 +13,6 @@ module Globalizable
|
||||
translations.reject(&:marked_for_destruction?).map(&:locale)
|
||||
end
|
||||
|
||||
def locales_marked_for_destruction
|
||||
I18n.available_locales - locales_not_marked_for_destruction
|
||||
end
|
||||
|
||||
def locales_persisted_and_marked_for_destruction
|
||||
translations.select { |t| t.persisted? && t.marked_for_destruction? }.map(&:locale)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user