summaryrefslogtreecommitdiff
path: root/app/models/network
diff options
context:
space:
mode:
authorYvo van Beek <yvo@codegazer.com>2014-09-06 19:51:28 +1000
committerYvo van Beek <yvo@codegazer.com>2014-09-06 19:51:28 +1000
commit1f355279d2cce2f1b75d5af953b17d6aeea5eff2 (patch)
tree4b637baf5fde3cf778fda362e4610d85bbcadf4a /app/models/network
parent1767873845ef479dd977303f9a6babc9e23ace9f (diff)
downloadgitlab-ce-1f355279d2cce2f1b75d5af953b17d6aeea5eff2.tar.gz
Remove parent spacing. Fixes #7505
Diffstat (limited to 'app/models/network')
-rw-r--r--app/models/network/graph.rb6
1 files changed, 0 insertions, 6 deletions
diff --git a/app/models/network/graph.rb b/app/models/network/graph.rb
index 424819f3501..9c95470beb1 100644
--- a/app/models/network/graph.rb
+++ b/app/models/network/graph.rb
@@ -178,12 +178,6 @@ module Network
space = find_free_space(time_range, 2, space_base)
leaves.each do |l|
l.spaces << space
- # Also add space to parent
- l.parents(@map).each do |parent|
- if 0 < parent.space && parent.space < space
- parent.spaces << space
- end
- end
end
# and mark it as reserved