changeset 1849:a754d6381550

quick_frontend (blog): correction for the previous patch: - "comments_node" and "comments_service" are not needed when "comments" is already here - to set "allow_comments" to True when updating a main item was enough
author souliane <souliane@mailoo.org>
date Mon, 22 Feb 2016 13:44:14 +0100
parents 446a1539c207
children 6e547dd7f38c
files frontends/src/quick_frontend/quick_blog.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/frontends/src/quick_frontend/quick_blog.py	Mon Feb 22 13:15:02 2016 +0100
+++ b/frontends/src/quick_frontend/quick_blog.py	Mon Feb 22 13:44:14 2016 +0100
@@ -249,7 +249,7 @@
 
         # keys to keep other than content*, title* and tag*
         # FIXME: see how to avoid comments node hijacking (someone could bind his post to another post's comments node)
-        keys_to_keep = ('id', 'comments', 'author', 'author_jid', 'published', 'comments_node', 'comments_service')
+        keys_to_keep = ('id', 'comments', 'author', 'author_jid', 'published')
 
         mb_data = {}
         for key in keys_to_keep: