Disable the plone.app.registry check on schema elements, so no error is raised on upgrades. This fixes https://dev.plone.org/plone/ticket/11195. Refs #11195

svn path=/plone.app.discussion/trunk/; revision=40868
This commit is contained in:
Timo Stollenwerk
2010-10-29 10:43:46 +00:00
parent 1316cfc83e
commit 81dcdeaea3
6 changed files with 13 additions and 9 deletions
+1 -1
View File
@@ -100,7 +100,7 @@ class Conversation(Traversable, Persistent, Explicit):
# Fetch discussion registry
registry = queryUtility(IRegistry)
settings = registry.forInterface(IDiscussionSettings)
settings = registry.forInterface(IDiscussionSettings, check=False)
# Check if discussion is allowed globally
if not settings.globally_enabled: