Permalink
Browse files

cleanup

  • Loading branch information...
1 parent 910bdb3 commit 5919c170724156a9f88e45ac8477466510d4d977 @digi604 digi604 committed Mar 7, 2014
Showing with 0 additions and 6 deletions.
  1. +0 −6 cms/models/pagemodel.py
@@ -174,12 +174,6 @@ def move_page(self, target, position='first-child'):
# make sure move_page does not break when using INHERIT template
# and moving to a top level position
- new_parent = target
- if position in ('left', 'right'):
- if target.parent_id:
- new_parent = target.parent
- else:
- new_parent = None
if (position in ('left', 'right') and not target.parent and is_inherited_template):
self.template = self.get_template()
self.move_to(target, position)

0 comments on commit 5919c17

Please sign in to comment.