Merge pull request #155 from oohlaf/fixes
Explain why public comments are disabled and what needs to happen to enable them.
This commit is contained in:
commit
c81ad135ac
@ -98,6 +98,10 @@ function can_comment_on_post($observer_xchan,$item) {
|
|||||||
return true;
|
return true;
|
||||||
break;
|
break;
|
||||||
case 'public':
|
case 'public':
|
||||||
|
# We don't allow public comments yet, until a policy
|
||||||
|
# for dealing with anonymous comments is in place with
|
||||||
|
# a means to moderate comments. Until that time, return
|
||||||
|
# false.
|
||||||
return false;
|
return false;
|
||||||
break;
|
break;
|
||||||
case 'contacts':
|
case 'contacts':
|
||||||
@ -3874,4 +3878,4 @@ function items_fetch($arr,$channel = null,$observer_hash = null,$client_mode = C
|
|||||||
}
|
}
|
||||||
|
|
||||||
return $items;
|
return $items;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user