mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-20 07:15:13 +00:00
Merge pull request #382 from git-marijus/master
provide some info to not local users
This commit is contained in:
commit
96525126f6
1 changed files with 3 additions and 1 deletions
|
@ -26,8 +26,10 @@ function lockview_content(&$a) {
|
||||||
|
|
||||||
$item = $r[0];
|
$item = $r[0];
|
||||||
|
|
||||||
if($item['uid'] != local_user())
|
if($item['uid'] != local_user()) {
|
||||||
|
echo '<li>' . t('Remote privacy information not available.') . '</li>';
|
||||||
killme();
|
killme();
|
||||||
|
}
|
||||||
|
|
||||||
if(($item['item_private'] == 1) && (! strlen($item['allow_cid'])) && (! strlen($item['allow_gid']))
|
if(($item['item_private'] == 1) && (! strlen($item['allow_cid'])) && (! strlen($item['allow_gid']))
|
||||||
&& (! strlen($item['deny_cid'])) && (! strlen($item['deny_gid']))) {
|
&& (! strlen($item['deny_cid'])) && (! strlen($item['deny_gid']))) {
|
||||||
|
|
Loading…
Reference in a new issue