From fd2379530cd879861c3abab747bddffd3b3e3fdf Mon Sep 17 00:00:00 2001 From: friendica Date: Fri, 20 Sep 2013 20:15:53 -0700 Subject: hopefully(?) the final word on remote comment permissions --- include/items.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'include/items.php') diff --git a/include/items.php b/include/items.php index 37ff7db3c..44917233f 100755 --- a/include/items.php +++ b/include/items.php @@ -63,6 +63,7 @@ function collect_recipients($item,&$private) { } + function can_comment_on_post($observer_xchan,$item) { if(! $observer_xchan) return false; @@ -84,9 +85,6 @@ function can_comment_on_post($observer_xchan,$item) { if(($item['owner']['abook_xchan']) && ($item['owner']['abook_their_perms'] & PERMS_W_COMMENT)) return true; } - else { - return true; - } break; default: break; -- cgit v1.2.3