1
0
Fork 0

Just some more code adjustments

This commit is contained in:
Michael Vogel 2016-10-22 10:21:43 +00:00
commit 66da84d1a9
2 changed files with 3 additions and 2 deletions

View file

@ -1982,6 +1982,7 @@ class ostatus {
intval($authorid), dbesc($check_date),
dbesc(NETWORK_OSTATUS), dbesc(NETWORK_DFRN));
/*
// We keep this old query until we are sure that the new one works better
$items = q("SELECT `item`.*, `item`.`id` AS `item_id` FROM `item`
STRAIGHT_JOIN `thread` ON `thread`.`iid` = `item`.`parent`
LEFT JOIN `item` AS `thritem` ON `thritem`.`uri`=`item`.`thr-parent` AND `thritem`.`uid`=`item`.`uid`