From 2b89a1440aae4d4de9d5ffa036df49c5652d64ef Mon Sep 17 00:00:00 2001 From: Patrick J Cherry Date: Wed, 2 May 2012 17:08:14 +0100 Subject: Fixed typo. --- lib/mauve/web_interface.rb | 5 ----- 1 file changed, 5 deletions(-) (limited to 'lib/mauve/web_interface.rb') diff --git a/lib/mauve/web_interface.rb b/lib/mauve/web_interface.rb index a8e1ece..fb19abd 100644 --- a/lib/mauve/web_interface.rb +++ b/lib/mauve/web_interface.rb @@ -222,8 +222,6 @@ EOF if ack_until.to_s.empty? now = Time.now - now.bank_holidays = Server.instance.bank_holidays - ack_until = now.in_x_hours(n_hours, type_hours.to_s) else ack_until = Time.at(ack_until.to_i) @@ -280,7 +278,6 @@ EOF n_hours = ( n_hours > 300 ? 300 : n_hours ) type_hours = "daytime" unless %w(daytime working wallclock).include?(type_hours) now = Time.now - now.bank_holidays = Server.instance.bank_holidays ack_until = now.in_x_hours(n_hours, type_hours) # @@ -369,8 +366,6 @@ EOF if ack_until == 0 now = Time.now - now.bank_holidays = Server.instance.bank_holidays - ack_until = now.in_x_hours(n_hours, type_hours) else ack_until = Time.at(ack_until) -- cgit v1.2.1