Changed "hidewall" behaviour
This commit is contained in:
parent
a2f388460e
commit
1144863090
3 changed files with 6 additions and 9 deletions
|
@ -284,10 +284,6 @@ function item_post(App $a) {
|
|||
|
||||
$private = ((strlen($str_group_allow) || strlen($str_contact_allow) || strlen($str_group_deny) || strlen($str_contact_deny)) ? 1 : 0);
|
||||
|
||||
if ($user['hidewall']) {
|
||||
$private = 2;
|
||||
}
|
||||
|
||||
// If this is a comment, set the permissions from the parent.
|
||||
|
||||
if ($toplevel_item) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue