mirror of
https://github.com/friendica/friendica
synced 2025-04-19 06:30:10 +00:00
Orphans are removed without giant lock problems
This commit is contained in:
parent
abb827b784
commit
fd2d8cc180
4 changed files with 52 additions and 6 deletions
|
@ -236,7 +236,7 @@ function display_content(&$a, $update = 0) {
|
|||
}
|
||||
|
||||
if ($nick == "") {
|
||||
$r = qu("SELECT `user`.`nickname`, `item`.`id` FROM `item` INNER JOIN `user` ON `user`.`uid` = `item`.`uid`
|
||||
$r = qu("SELECT STRAIGHT_JOIN `user`.`nickname`, `item`.`id` FROM `item` INNER JOIN `user` ON `user`.`uid` = `item`.`uid`
|
||||
WHERE `item`.`visible` AND NOT `item`.`deleted` AND NOT `item`.`moderated`
|
||||
AND `item`.`allow_cid` = '' AND `item`.`allow_gid` = ''
|
||||
AND `item`.`deny_cid` = '' AND `item`.`deny_gid` = ''
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue