1
1
Fork 0

remove an erroneously pasted line

This commit is contained in:
fabrixxm 2011-02-03 19:42:32 +01:00
parent c15c550a06
commit b5c3fb1545

View file

@ -48,7 +48,6 @@ function lockview_content(&$a) {
dbesc(implode(', ', $allowed_groups)) dbesc(implode(', ', $allowed_groups))
); );
if(count($r)) if(count($r))
if($item['uid'] != local_user())
foreach($r as $rr) foreach($r as $rr)
$l[] = '<b>' . $rr['name'] . '</b>'; $l[] = '<b>' . $rr['name'] . '</b>';
} }
@ -80,11 +79,7 @@ function lockview_content(&$a) {
} }
if (count($l)>0) {
echo $o . implode(', ', $l); echo $o . implode(', ', $l);
} else {
echo $o . t('nobody');
}
killme(); killme();
} }