From 6ca6bc2dd8cadb509ad84e184a11a80c6441921f Mon Sep 17 00:00:00 2001 From: friendica Date: Sat, 28 Sep 2013 05:03:58 -0700 Subject: close comment --- include/ConversationObject.php | 1 + include/items.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/include/ConversationObject.php b/include/ConversationObject.php index bf4300cb1..bb144d893 100644 --- a/include/ConversationObject.php +++ b/include/ConversationObject.php @@ -7,6 +7,7 @@ require_once('boot.php'); require_once('include/BaseObject.php'); require_once('include/ItemObject.php'); require_once('include/text.php'); +require_once('include/items.php'); /** * A list of threads diff --git a/include/items.php b/include/items.php index b58b4415e..45d9d28fc 100755 --- a/include/items.php +++ b/include/items.php @@ -92,7 +92,7 @@ function collect_recipients($item,&$private) { * Generally we should look at the item - in particular the author['book_flags'] and see if ABOOK_FLAG_SELF is set. * If it is, you should be able to use perm_is_allowed( ... 'post_comments'), and if it isn't you need to call * can_comment_on_post() - + */ function can_comment_on_post($observer_xchan,$item) { // logger('can_comment_on_post: comment_policy: ' . $item['comment_policy'], LOGGER_DEBUG); -- cgit v1.2.3