Removed not needed param.

This commit is contained in:
Martin Edenhofer 2013-06-07 16:01:04 +02:00
parent 9df719b8bf
commit 9e22395969

View file

@ -522,7 +522,7 @@ class Ticket < ApplicationModel
}
end
def _escalation_calculation_get_sla(time)
def _escalation_calculation_get_sla
sla_selected = nil
sla_list = Cache.get( 'SLA::List::Active' )
@ -584,7 +584,7 @@ class Ticket < ApplicationModel
end
# 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
if !sla_selected