Removed not needed param.
This commit is contained in:
parent
9df719b8bf
commit
9e22395969
1 changed files with 2 additions and 2 deletions
|
@ -522,7 +522,7 @@ class Ticket < ApplicationModel
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|
||||||
def _escalation_calculation_get_sla(time)
|
def _escalation_calculation_get_sla
|
||||||
|
|
||||||
sla_selected = nil
|
sla_selected = nil
|
||||||
sla_list = Cache.get( 'SLA::List::Active' )
|
sla_list = Cache.get( 'SLA::List::Active' )
|
||||||
|
@ -584,7 +584,7 @@ class Ticket < ApplicationModel
|
||||||
end
|
end
|
||||||
|
|
||||||
# get sla for ticket
|
# get sla for ticket
|
||||||
sla_selected = self._escalation_calculation_get_sla(self.created_at)
|
sla_selected = self._escalation_calculation_get_sla
|
||||||
|
|
||||||
# reset escalation if no sla is set
|
# reset escalation if no sla is set
|
||||||
if !sla_selected
|
if !sla_selected
|
||||||
|
|
Loading…
Reference in a new issue