ENXF NET
Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
- Joined
- Nov 13, 2018
- Messages
- 27,127
- Points
- 823
Reputation:
When determining users to send a report update alert to in
SQL:
It then finds any comments where
Read more
Continue reading...
XF\Service\Report\ClosureNotifierService
it runs this query:SQL:
Code:
$lastOpenDate = $db->fetchOne("
SELECT comment_date
FROM xf_report_comment
WHERE report_id = ?
AND state_change = 'open'
ORDER BY comment_date DESC
LIMIT 1
", $reportId);
It then finds any comments where
comment_date
is greater than or equal to the date queried here, and is_report
is 1
. This should send the alert...Read more
Continue reading...