Skip to content

Commit

Permalink
chore: remove unused methods (#3288)
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianthedev authored Oct 1, 2024
1 parent fa660ac commit 10b2903
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions lib/avo/plugin_manager.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,6 @@ def register(name, priority: 10)
@plugins << Plugin.new(name:, priority: priority)
end

def boot_plugins
Avo.plugin_manager.all.sort_by(&:priority).each do |plugin|
plugin.klass.boot
end
end

def init_plugins
Avo.plugin_manager.all.sort_by(&:priority).each do |plugin|
plugin.klass.init
end
end

def register_field(method_name, klass)
Avo.field_manager.load_field method_name, klass
end
Expand Down

0 comments on commit 10b2903

Please sign in to comment.