diff options
author | Patrick J Cherry <patrick@bytemark.co.uk> | 2012-05-02 17:08:14 +0100 |
---|---|---|
committer | Patrick J Cherry <patrick@bytemark.co.uk> | 2012-05-02 17:08:14 +0100 |
commit | 2b89a1440aae4d4de9d5ffa036df49c5652d64ef (patch) | |
tree | ff42b1579c73d0566933450c04d82636e6e22033 /lib/mauve/web_interface.rb | |
parent | bf4474e1d805b97f0c413078b476111bbdfe433b (diff) |
Fixed typo.
Diffstat (limited to 'lib/mauve/web_interface.rb')
-rw-r--r-- | lib/mauve/web_interface.rb | 5 |
1 files changed, 0 insertions, 5 deletions
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) |