make forumlist & page respect hidden, blocked, and archived contacts
This commit is contained in:
parent
407c5311a8
commit
afa8321d2a
5 changed files with 2 additions and 0 deletions
BIN
facebook.tgz
BIN
facebook.tgz
Binary file not shown.
BIN
forumlist.tgz
BIN
forumlist.tgz
Binary file not shown.
|
@ -36,6 +36,7 @@ function forumlist_getpage($uid,$showhidden = true,$randomise = false) {
|
|||
|
||||
$contacts = q("SELECT `contact`.`id`, `contact`.`url`, `contact`.`name`, `contact`.`micro` from contact
|
||||
WHERE `network`= 'dfrn' AND `forum` = 1 AND `uid` = %d
|
||||
and blocked = 0 and hidden = 0 and pending = 0 and archive = 0
|
||||
$order ",
|
||||
intval($uid)
|
||||
);
|
||||
|
|
BIN
page.tgz
BIN
page.tgz
Binary file not shown.
|
@ -38,6 +38,7 @@ function page_getpage($uid,$showhidden = true,$randomise = false) {
|
|||
|
||||
$contacts = q("SELECT `id`, `url`, `name`, `micro` FROM `contact`
|
||||
WHERE `network`= 'dfrn' AND `forum` = 1 AND `uid` = %d
|
||||
and blocked = 0 and hidden = 0 and pending = 0 and archive = 0
|
||||
$order ",
|
||||
intval($uid)
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue