From 15c3e57666a037d387d349912d1ca277192dcda2 Mon Sep 17 00:00:00 2001 From: Jean Privat Date: Sat, 27 Dec 2014 22:44:40 -0500 Subject: [PATCH] model: remove a last bit of old module nesting hierarchy Signed-off-by: Jean Privat --- src/model/mmodule.nit | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/model/mmodule.nit b/src/model/mmodule.nit index 3e3c497..e66f164 100644 --- a/src/model/mmodule.nit +++ b/src/model/mmodule.nit @@ -129,12 +129,6 @@ class MModule assert mgroup.default_mmodule == null mgroup.default_mmodule = self end - # placebo for old module nesting hierarchy - var direct_owner = mgroup.default_mmodule - if direct_owner == self then - # The potential owner is the default_mmodule of the parent group - if mgroup.parent != null then direct_owner = mgroup.parent.default_mmodule - end end self.in_importation = model.mmodule_importation_hierarchy.add_node(self) end -- 1.7.9.5