diff options
author | friendica <info@friendica.com> | 2012-01-23 20:56:11 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2012-01-23 20:56:11 -0800 |
commit | a76a497d924a16b8b07b126408db21655aac3bd6 (patch) | |
tree | da677488f3ad710d223ae7e3ad68d1c695f46ada /include/api.php | |
parent | 1f074cb44c5deda5b480f5ff814ff3640ec843d0 (diff) | |
download | volse-hubzilla-a76a497d924a16b8b07b126408db21655aac3bd6.tar.gz volse-hubzilla-a76a497d924a16b8b07b126408db21655aac3bd6.tar.bz2 volse-hubzilla-a76a497d924a16b8b07b126408db21655aac3bd6.zip |
implement "moderate" flag on items
Diffstat (limited to 'include/api.php')
-rwxr-xr-x | include/api.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/api.php b/include/api.php index 08b28265c..7b8709659 100755 --- a/include/api.php +++ b/include/api.php @@ -650,7 +650,7 @@ `contact`.`id` AS `cid`, `contact`.`uid` AS `contact-uid` FROM `item`, `contact` WHERE `item`.`uid` = %d - AND `item`.`visible` = 1 AND `item`.`deleted` = 0 + AND `item`.`visible` = 1 and `item`.`moderated` = 0 AND `item`.`deleted` = 0 AND `contact`.`id` = `item`.`contact-id` AND `contact`.`blocked` = 0 AND `contact`.`pending` = 0 $sql_extra @@ -707,7 +707,7 @@ FROM `item`, `contact` WHERE `item`.`uid` = %d AND `item`.`contact-id` = %d - AND `item`.`visible` = 1 AND `item`.`deleted` = 0 + AND `item`.`visible` = 1 and `item`.`moderated` = 0 AND `item`.`deleted` = 0 AND `contact`.`id` = `item`.`contact-id` AND `contact`.`blocked` = 0 AND `contact`.`pending` = 0 $sql_extra @@ -761,7 +761,7 @@ `contact`.`id` AS `cid`, `contact`.`uid` AS `contact-uid` FROM `item`, `contact` WHERE `item`.`uid` = %d - AND `item`.`visible` = 1 AND `item`.`deleted` = 0 + AND `item`.`visible` = 1 and `item`.`moderated` = 0 AND `item`.`deleted` = 0 AND `item`.`starred` = 1 AND `contact`.`id` = `item`.`contact-id` AND `contact`.`blocked` = 0 AND `contact`.`pending` = 0 |