diff options
author | friendica <info@friendica.com> | 2013-09-20 20:15:53 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2013-09-20 20:15:53 -0700 |
commit | fd2379530cd879861c3abab747bddffd3b3e3fdf (patch) | |
tree | 10b79d3ec820c985be05f0a78dbb4fef216441e1 /include | |
parent | 43e290f4c05e9b558abd8118f2282898f3d488f8 (diff) | |
download | volse-hubzilla-fd2379530cd879861c3abab747bddffd3b3e3fdf.tar.gz volse-hubzilla-fd2379530cd879861c3abab747bddffd3b3e3fdf.tar.bz2 volse-hubzilla-fd2379530cd879861c3abab747bddffd3b3e3fdf.zip |
hopefully(?) the final word on remote comment permissions
Diffstat (limited to 'include')
-rwxr-xr-x | include/items.php | 4 |
1 files changed, 1 insertions, 3 deletions
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; |