mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-10 10:28:50 +00:00
All references to the item table had been removed
This commit is contained in:
parent
ad968ab2c9
commit
05a805398e
5 changed files with 14 additions and 14 deletions
|
@ -1299,10 +1299,10 @@ function pumpio_fetchinbox(App $a, $uid)
|
|||
$self = q("SELECT * FROM `contact` WHERE `self` = 1 AND `uid` = %d LIMIT 1",
|
||||
intval($uid));
|
||||
|
||||
$lastitems = q("SELECT `uri` FROM `thread`
|
||||
INNER JOIN `item` ON `item`.`id` = `thread`.`iid`
|
||||
WHERE `thread`.`network` = '%s' AND `thread`.`uid` = %d AND `item`.`extid` != ''
|
||||
ORDER BY `thread`.`commented` DESC LIMIT 10",
|
||||
$lastitems = q("SELECT `uri` FROM `post-thread-user`
|
||||
INNER JOIN `post-view` ON `post-view`.`id` = `post-thread-user`.`iid`
|
||||
WHERE `post-thread-user`.`network` = '%s' AND `post-thread-user`.`uid` = %d AND `post-view`.`extid` != ''
|
||||
ORDER BY `post-thread-user`.`commented` DESC LIMIT 10",
|
||||
DBA::escape(Protocol::PUMPIO),
|
||||
intval($uid)
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue