plone.registry 1.0a2 changed methods to mixedCase (for_interface to forInterface).

svn path=/plone.app.discussion/trunk/; revision=28024
This commit is contained in:
Timo Stollenwerk
2009-07-12 19:13:42 +00:00
parent 39e0faffc9
commit b106262e31
4 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -96,7 +96,7 @@ class Conversation(Traversable, Persistent, Explicit):
# Fetch discussion registry
registry = queryUtility(IRegistry)
settings = registry.for_interface(IDiscussionSettings)
settings = registry.forInterface(IDiscussionSettings)
# Check if discussion is allowed globally
if not settings.globally_enabled: