From 1f355279d2cce2f1b75d5af953b17d6aeea5eff2 Mon Sep 17 00:00:00 2001
From: Yvo van Beek <yvo@codegazer.com>
Date: Sat, 6 Sep 2014 19:51:28 +1000
Subject: [PATCH] Remove parent spacing. Fixes #7505

---
 app/models/network/graph.rb | 6 ------
 1 file changed, 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
-- 
GitLab