[privacy] rework latest fix
This commit is contained in:
parent
39a49d51e3
commit
88cd5800cf
2 changed files with 3 additions and 4 deletions
|
@ -87,9 +87,6 @@ function display_content(&$a) {
|
|||
|
||||
$sql_extra = permissions_sql($a->profile['uid'],$remote_contact,$groups);
|
||||
|
||||
if(! local_user() && ! remote_user())
|
||||
$sql_extra .= " and `item`.`private` = 0 ";
|
||||
|
||||
$r = q("SELECT `item`.*, `item`.`id` AS `item_id`,
|
||||
`contact`.`name`, `contact`.`photo`, `contact`.`url`, `contact`.`rel`,
|
||||
`contact`.`network`, `contact`.`thumb`, `contact`.`self`, `contact`.`writable`,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue