Check each group in nocem message properly
This commit is contained in:
parent
4096ff8d18
commit
e8286a331d
|
@ -55,8 +55,10 @@
|
||||||
}
|
}
|
||||||
if((isset($nocem_line[0]) && $nocem_line[0] == '<') && $start == 1) {
|
if((isset($nocem_line[0]) && $nocem_line[0] == '<') && $start == 1) {
|
||||||
$found = explode(' ', $nocem_line);
|
$found = explode(' ', $nocem_line);
|
||||||
echo 'SEARCH: '.$found[0].' IN: '.$found[1]."\r\n";
|
$msgid = $found[0];
|
||||||
delete_message($found[0], $found[1]);
|
foreach($found as $found_group) {
|
||||||
|
delete_message($msgid, $found_group);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
rename($nocem_file, $nocem_path."processed/".$message);
|
rename($nocem_file, $nocem_path."processed/".$message);
|
||||||
|
|
Loading…
Reference in New Issue