diff options
| author | Xinhui | 2016-10-04 12:28:53 +0200 | 
|---|---|---|
| committer | Xinhui | 2016-10-04 14:03:05 +0200 | 
| commit | a385a8c51599236f1cd61d641a812c4d2e416728 (patch) | |
| tree | 731c52bbc8ef4e6ff00df69e55ecf7047c797ccd /lib/stif | |
| parent | 5d6802c6eb0b78466a6bd1b176bfc380918c2fee (diff) | |
| download | chouette-core-a385a8c51599236f1cd61d641a812c4d2e416728.tar.bz2 | |
Reflex:sync fix multiple call to set_deleted_stop_area
Diffstat (limited to 'lib/stif')
| -rw-r--r-- | lib/stif/reflex_synchronization.rb | 8 | 
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/stif/reflex_synchronization.rb b/lib/stif/reflex_synchronization.rb index 8e3740ca3..ba6719be7 100644 --- a/lib/stif/reflex_synchronization.rb +++ b/lib/stif/reflex_synchronization.rb @@ -37,11 +37,11 @@ module Stif              self.stop_area_set_parent entry            end            Rails.logger.info "Reflex:sync - StopArea set parent done in #{Time.now - start} seconds" -          { -            imported: Chouette::StopArea.where(deleted_at: nil).count - initial_count, -            deleted: self.set_deleted_stop_area(processed.uniq) -          }          end +        { +          imported: Chouette::StopArea.where(deleted_at: nil).count - initial_count, +          deleted: self.set_deleted_stop_area(processed.uniq) +        }        end        def set_deleted_stop_area processed  | 
