Skip to content

Commit 38329c9

Browse files
jandudulskimpraglowski
authored andcommitted
🔥 Remove duplicated method
1 parent c7b0935 commit 38329c9

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

contrib/ruby_event_store-sequel/lib/ruby_event_store/sequel/event_repository.rb

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -367,10 +367,6 @@ def upsert_hash(record, serialized_record)
367367
}
368368
end
369369

370-
def optimize_timestamp(valid_at, created_at)
371-
valid_at unless valid_at.eql?(created_at)
372-
end
373-
374370
def supports_on_duplicate_key_update?
375371
@db.adapter_scheme =~ /mysql/
376372
end

0 commit comments

Comments
 (0)