aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlaf Conradi <oohlaf@gmail.com>2013-09-26 14:03:26 -0700
committerOlaf Conradi <oohlaf@gmail.com>2013-09-26 14:03:26 -0700
commitc81ad135acc64065a95f0fee3c339e59504b7e45 (patch)
tree617a0ebed7ff23f847181402e4e04620852be423
parent689cea3170968e1e488fb6fe84505ca7c9f6a2bf (diff)
parent26492b3ad486bbcd7e5bb96289a7ade1bd00a186 (diff)
downloadvolse-hubzilla-c81ad135acc64065a95f0fee3c339e59504b7e45.tar.gz
volse-hubzilla-c81ad135acc64065a95f0fee3c339e59504b7e45.tar.bz2
volse-hubzilla-c81ad135acc64065a95f0fee3c339e59504b7e45.zip
Merge pull request #155 from oohlaf/fixes
Explain why public comments are disabled and what needs to happen to enable them.
-rwxr-xr-xinclude/items.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/items.php b/include/items.php
index 4aecf9174..25bcf0253 100755
--- a/include/items.php
+++ b/include/items.php
@@ -98,6 +98,10 @@ function can_comment_on_post($observer_xchan,$item) {
return true;
break;
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;
break;
case 'contacts':
@@ -3874,4 +3878,4 @@ function items_fetch($arr,$channel = null,$observer_hash = null,$client_mode = C
}
return $items;
-} \ No newline at end of file
+}