forked from GNUsocial/gnu-social
remove unnecessary variables from subs query
darcs-hash:20081120122352-84dde-2bc356e446abb061ac1d7e9e9bd4f8d53d688509.gz
This commit is contained in:
parent
bec59ef504
commit
d04556bf01
@ -101,7 +101,7 @@ class GalleryAction extends Action {
|
||||
'FROM profile JOIN subscription ' .
|
||||
'ON profile.id = subscription.' . $lst . ' ' .
|
||||
'WHERE ' . $usr . ' = ' . $profile->id . ' ' .
|
||||
'AND ' . $lst . ' != ' . $usr . ' ' .
|
||||
'AND subscriber != subscribed ' .
|
||||
'ORDER BY subscription.created DESC ' .
|
||||
$lim);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user