Skip to content
Snippets Groups Projects
Commit 5f10e23d authored by Henri Queneau's avatar Henri Queneau
Browse files

FEAT #6256 no notification to DEL users

parent 2ccb606f
No related branches found
No related tags found
No related merge requests found
...@@ -69,7 +69,7 @@ while ($state <> 'END') { ...@@ -69,7 +69,7 @@ while ($state <> 'END') {
if(empty($aRecipients)){ if(empty($aRecipients)){
$aRecipients = "0=1"; $aRecipients = "0=1";
} }
$stmt3 = $db->query("SELECT usergroup_content.user_id,users.status FROM usergroup_content, users WHERE group_id = ? and usergroup_content.user_id=users.user_id and users.user_id in (?)", array($line2->group_id, $aRecipients)); $stmt3 = $db->query("SELECT usergroup_content.user_id,users.status FROM usergroup_content, users WHERE group_id = ? and users.status in ('OK') and usergroup_content.user_id=users.user_id and users.user_id in (?)", array($line2->group_id, $aRecipients));
$baskets_notif = array(); $baskets_notif = array();
$rowCount3 = $stmt3->rowCount(); $rowCount3 = $stmt3->rowCount();
$logger->write("GROUP: " . $line2->group_id . " ... " . $rowCount3 . " user(s) to notify", 'INFO'); $logger->write("GROUP: " . $line2->group_id . " ... " . $rowCount3 . " user(s) to notify", 'INFO');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment