mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 04:18:52 +00:00
[ticket/17489] Fix messenger queue won't be saved
PHPBB-17489
This commit is contained in:
parent
3dc1e6fc8e
commit
1f1a02d086
1 changed files with 3 additions and 6 deletions
|
@ -126,15 +126,12 @@ abstract class messenger_base extends \phpbb\notification\method\base
|
||||||
], $notification->get_email_template_variables()));
|
], $notification->get_email_template_variables()));
|
||||||
|
|
||||||
$messenger_method->send();
|
$messenger_method->send();
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// Save the queue in the messenger method class (has to be called or these messages could be lost)
|
// Save the queue in the messenger method class (has to be called or these messages could be lost)
|
||||||
foreach ($messenger_collection_iterator as $messenger_method)
|
|
||||||
{
|
|
||||||
$messenger_method->save_queue();
|
$messenger_method->save_queue();
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// We're done, empty the queue
|
// We're done, empty the queue
|
||||||
$this->empty_queue();
|
$this->empty_queue();
|
||||||
|
|
Loading…
Add table
Reference in a new issue