close comment
This commit is contained in:
parent
13e18332aa
commit
6ca6bc2dd8
@ -7,6 +7,7 @@ require_once('boot.php');
|
|||||||
require_once('include/BaseObject.php');
|
require_once('include/BaseObject.php');
|
||||||
require_once('include/ItemObject.php');
|
require_once('include/ItemObject.php');
|
||||||
require_once('include/text.php');
|
require_once('include/text.php');
|
||||||
|
require_once('include/items.php');
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A list of threads
|
* A list of threads
|
||||||
|
@ -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.
|
* 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
|
* 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()
|
* can_comment_on_post()
|
||||||
|
*/
|
||||||
function can_comment_on_post($observer_xchan,$item) {
|
function can_comment_on_post($observer_xchan,$item) {
|
||||||
|
|
||||||
// logger('can_comment_on_post: comment_policy: ' . $item['comment_policy'], LOGGER_DEBUG);
|
// logger('can_comment_on_post: comment_policy: ' . $item['comment_policy'], LOGGER_DEBUG);
|
||||||
|
Reference in New Issue
Block a user