Commit b92c75ab authored by Lin Jen-Shin's avatar Lin Jen-Shin
parent 41351608
...@@ -133,9 +133,7 @@ module Gitlab ...@@ -133,9 +133,7 @@ module Gitlab
end end
def process_duration(periods) def process_duration(periods)
periods.inject(0) do |result, per| periods.sum(&:duration)
result + per.duration
end
end end
end end
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment