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