"item" is replaced by "post-view" / postupdate check added
This commit is contained in:
@@ -160,7 +160,7 @@ class Group
|
||||
public static function countUnseen()
|
||||
{
|
||||
$stmt = DBA::p("SELECT `group`.`id`, `group`.`name`,
|
||||
(SELECT COUNT(*) FROM `item` FORCE INDEX (`uid_unseen_contactid`)
|
||||
(SELECT COUNT(*) FROM `post-view`
|
||||
WHERE `uid` = ?
|
||||
AND `unseen`
|
||||
AND `contact-id` IN
|
||||
|
||||
Reference in New Issue
Block a user