forked from verdnatura/hedera-web
TPV mail cleaning bug fixed
This commit is contained in:
parent
38a6a7a3ac
commit
8cc05e174e
|
@ -1,4 +1,4 @@
|
|||
hedera-web (1.406.20) stable; urgency=low
|
||||
hedera-web (1.406.21) stable; urgency=low
|
||||
|
||||
* Initial Release.
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "hedera-web",
|
||||
"version": "1.406.20",
|
||||
"version": "1.406.21",
|
||||
"description": "Verdnatura web page",
|
||||
"license": "GPL-3.0",
|
||||
"repository": {
|
||||
|
|
|
@ -82,7 +82,7 @@ class ConfirmMail extends Vn\Lib\Method {
|
|||
$filter = sprintf('BEFORE "%s"', $date->format('D, j M Y'));
|
||||
|
||||
foreach ($folders as $folder)
|
||||
if (imap_reopen($imap, $mailbox.'.'.$folder))
|
||||
if (imap_reopen($imap, $mailbox.$folder))
|
||||
if ($messages = imap_search($imap, $filter)) {
|
||||
foreach ($messages as $message)
|
||||
imap_delete($imap, $message);
|
||||
|
|
Loading…
Reference in New Issue