Permalink
Browse files

a fix for 977, couldn't reproduce the bug using unittests (but using …

…the browser). So really NOT sure if this is a valid fix!
  • Loading branch information...
1 parent 2fcb922 commit bdceb4e4c4a6f113d3125a667e10cfc4c041ae4e Jonas Obrist committed Sep 1, 2011
Showing with 0 additions and 6 deletions.
  1. +0 −6 cms/models/pagemodel.py
View
@@ -307,7 +307,6 @@ def save(self, no_signals=False, change_state=True, commit=True,
# Published pages should always have a publication date
publish_directly, under_moderation = False, False
-
if self.publisher_is_draft:
# publisher specific stuff, but only on draft model, this is here
# because page initializes publish process
@@ -366,11 +365,6 @@ def save(self, no_signals=False, change_state=True, commit=True,
if commit and publish_directly:
self.publish()
-
- elif self.publisher_public and self.publisher_public.published:
- self.publisher_public.published = False
- self.publisher_public.save()
-
def save_base(self, *args, **kwargs):
"""Overriden save_base. If an instance is draft, and was changed, mark

0 comments on commit bdceb4e

Please sign in to comment.