Skip to content

Commit

Permalink
better phraseing and changelog, - SyntaxError
Browse files Browse the repository at this point in the history
  • Loading branch information
jensens committed May 20, 2024
1 parent bed36a6 commit 289e256
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions news/665.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
`plone.app.discussion` is now a core addon.
The `plone.discussion` behavior class moved over there.
[@jensens]
2 changes: 1 addition & 1 deletion plone/app/dexterity/behaviors/discussion.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from zope.deferredimport import deprecated

deprecated(
"IAllowDiscussion is deprecated here. Import from plone.app.discussion.behaviors instead (will be removed in Plone 7)"
"IAllowDiscussion import from here is deprecated. Import from plone.app.discussion.behaviors instead (will be removed in Plone 7)",
IAllowDiscussion="plone.app.discussion.behaviors:IAllowDiscussion",
)

0 comments on commit 289e256

Please sign in to comment.