implement "moderate" flag on items

This commit is contained in:
friendica
2012-01-23 20:56:11 -08:00
parent 1f074cb44c
commit a76a497d92
17 changed files with 41 additions and 36 deletions

View File

@@ -18,6 +18,7 @@ function viewsrc_content(&$a) {
$r = q("SELECT `item`.`body` FROM `item`
WHERE `item`.`uid` = %d AND `item`.`visible` = 1 AND `item`.`deleted` = 0
and `item`.`moderated` = 0
AND `item`.`id` = '%s' LIMIT 1",
intval(local_user()),
dbesc($item_id)