Removed empty lines.
This commit is contained in:
parent
40aa2aa25a
commit
2730b8e4a2
1 changed files with 2 additions and 2 deletions
|
@ -18,7 +18,7 @@ class Ticket::Observer::LastContact < ActiveRecord::Observer
|
||||||
record.ticket.last_contact_agent == nil ||
|
record.ticket.last_contact_agent == nil ||
|
||||||
record.ticket.last_contact_agent.to_i > record.ticket.last_contact_customer.to_i
|
record.ticket.last_contact_agent.to_i > record.ticket.last_contact_customer.to_i
|
||||||
record.ticket.last_contact_customer = Time.now
|
record.ticket.last_contact_customer = Time.now
|
||||||
|
|
||||||
# set last_contact
|
# set last_contact
|
||||||
record.ticket.last_contact = Time.now
|
record.ticket.last_contact = Time.now
|
||||||
|
|
||||||
|
@ -29,7 +29,7 @@ class Ticket::Observer::LastContact < ActiveRecord::Observer
|
||||||
|
|
||||||
# if sender is not agent
|
# if sender is not agent
|
||||||
if record.ticket_article_sender.name == 'Agent'
|
if record.ticket_article_sender.name == 'Agent'
|
||||||
|
|
||||||
# set last_contact_agent
|
# set last_contact_agent
|
||||||
record.ticket.last_contact_agent = Time.now
|
record.ticket.last_contact_agent = Time.now
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue