remove an erroneously pasted line
This commit is contained in:
parent
c15c550a06
commit
b5c3fb1545
1 changed files with 1 additions and 6 deletions
|
@ -48,7 +48,6 @@ function lockview_content(&$a) {
|
|||
dbesc(implode(', ', $allowed_groups))
|
||||
);
|
||||
if(count($r))
|
||||
if($item['uid'] != local_user())
|
||||
foreach($r as $rr)
|
||||
$l[] = '<b>' . $rr['name'] . '</b>';
|
||||
}
|
||||
|
@ -80,11 +79,7 @@ function lockview_content(&$a) {
|
|||
|
||||
}
|
||||
|
||||
if (count($l)>0) {
|
||||
echo $o . implode(', ', $l);
|
||||
} else {
|
||||
echo $o . t('nobody');
|
||||
}
|
||||
echo $o . implode(', ', $l);
|
||||
killme();
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue