Skip to content

Commit

Permalink
Remove from site_properties, no portal_properties
Browse files Browse the repository at this point in the history
  • Loading branch information
esteele authored and pbauer committed Sep 19, 2015
1 parent 5f908f4 commit 569c439
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions plone/app/upgrade/v50/betas.py
Original file line number Diff line number Diff line change
Expand Up @@ -494,10 +494,13 @@ def to50rc3(context):

site_properties_to_remove = ['invalid_ids',
'currentFolderOnlyInNavtree']
site_properties_to_remove = ['invalid_ids']

for p in site_properties_to_remove:
if portal.hasProperty(p):
portal._delProperty(p)
if site_properties.hasProperty(p):
site_properties._delProperty(p)

properties_to_migrate = ['external_links_open_new_window',
'mark_special_links',
Expand Down

0 comments on commit 569c439

Please sign in to comment.