don't show self-subscriptions in FOAF
darcs-hash:20081130213755-5ed1f-bfece58a97ae85f959eb27a38d9bbb622e178793.gz
This commit is contained in:
parent
cad5603978
commit
a6a0cf08a2
@ -110,6 +110,7 @@ class FoafAction extends Action {
|
||||
|
||||
$sub = new Subscription();
|
||||
$sub->subscriber = $profile->id;
|
||||
$sub->whereAdd('subscriber != subscribed');
|
||||
|
||||
if ($sub->find()) {
|
||||
while ($sub->fetch()) {
|
||||
@ -131,6 +132,7 @@ class FoafAction extends Action {
|
||||
|
||||
$sub = new Subscription();
|
||||
$sub->subscribed = $profile->id;
|
||||
$sub->whereAdd('subscriber != subscribed');
|
||||
|
||||
if ($sub->find()) {
|
||||
while ($sub->fetch()) {
|
||||
|
Loading…
Reference in New Issue
Block a user