mirror of
https://github.com/friendica/friendica
synced 2025-04-23 21:50:10 +00:00
Get rid of the "item" table, enhanced "post" tables
This commit is contained in:
parent
c918e83aa2
commit
ce6ad1aa73
23 changed files with 736 additions and 235 deletions
|
@ -81,7 +81,7 @@ class Profile extends BaseModule
|
|||
"SELECT DISTINCT(`parent-uri-id`) AS `uri-id`, `created` FROM `post-view`
|
||||
WHERE `uid` = ? AND NOT `contact-blocked` AND NOT `contact-pending`
|
||||
AND `visible` AND (NOT `deleted` OR `gravity` = ?)
|
||||
AND NOT `moderated` AND `wall` $sql_extra4 $sql_extra
|
||||
AND `wall` $sql_extra4 $sql_extra
|
||||
ORDER BY `received` DESC",
|
||||
$a->profile['uid'],
|
||||
GRAVITY_ACTIVITY
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue