Skip to content

Commit

Permalink
Merge branch 'master' of git@github.com:divio/django-cms
Browse files Browse the repository at this point in the history
  • Loading branch information
ojii committed Dec 24, 2010
2 parents 09577fa + c863922 commit db5726e
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions cms/admin/pageadmin.py
Original file line number Diff line number Diff line change
Expand Up @@ -926,9 +926,6 @@ def delete_view(self, request, object_id, *args, **kwargs):
return HttpResponseRedirect("../../")

response = super(PageAdmin, self).delete_view(request, object_id, *args, **kwargs)
public = page.publisher_public
if request.method == 'POST' and response.status_code == 302 and public:
public.delete()
return response

@create_on_success
Expand Down

0 comments on commit db5726e

Please sign in to comment.