Skip to content

Commit

Permalink
Remove reset_vim_cache
Browse files Browse the repository at this point in the history
  • Loading branch information
agrare committed Jan 6, 2020
1 parent 7ded1a4 commit 2096f8d
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions app/models/ext_management_system.rb
Original file line number Diff line number Diff line change
Expand Up @@ -520,9 +520,6 @@ def self.refresh_all_ems_timer

def self.refresh_ems(ems_ids, reload = false)
ems_ids = [ems_ids] unless ems_ids.kind_of?(Array)

ExtManagementSystem.where(:id => ems_ids).each { |ems| ems.reset_vim_cache_queue if ems.respond_to?(:reset_vim_cache_queue) } if reload

ems_ids = ems_ids.collect { |id| [ExtManagementSystem, id] }
EmsRefresh.queue_refresh(ems_ids)
end
Expand Down

0 comments on commit 2096f8d

Please sign in to comment.