Commit b92c75ab authored by Lin Jen-Shin's avatar Lin Jen-Shin
parent 41351608
......@@ -133,9 +133,7 @@ module Gitlab
end
def process_duration(periods)
periods.inject(0) do |result, per|
result + per.duration
end
periods.sum(&:duration)
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