Skip to content

Commit

Permalink
Remove populating page groups to parent pages
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastian Vetter committed Aug 29, 2013
1 parent f6d211d commit c07f799
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions fancypages/abstract_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -210,12 +210,6 @@ def save(self, update_slugs=True, *args, **kwargs):
if cname not in existing_containers:
self.containers.create(page_object=self, name=cname)

parent = self.get_parent()
if parent:
for visibility_type in self.groups.all():
parent.groups.add(visibility_type)
parent.save()

class Meta:
app_label = 'fancypages'
abstract = True
Expand Down

0 comments on commit c07f799

Please sign in to comment.