Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
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...
commit bdceb4e4c4a6f113d3125a667e10cfc4c041ae4e 1 parent 2fcb922
@ojii ojii authored
Showing with 0 additions and 6 deletions.
  1. +0 −6 cms/models/pagemodel.py
View
6 cms/models/pagemodel.py
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.