mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-06 08:47:45 +02:00
[ticket/11103] General notification email template.
PHPBB3-11103
This commit is contained in:
@@ -83,19 +83,8 @@ abstract class phpbb_notifications_method_base implements phpbb_notifications_me
|
||||
}
|
||||
|
||||
/**
|
||||
* Basic run queue function.
|
||||
* Child methods should override this function if there are more efficient methods to mass-notification
|
||||
* Empty the queue
|
||||
*/
|
||||
public function run_queue()
|
||||
{
|
||||
foreach ($this->queue as $notification)
|
||||
{
|
||||
$this->notify($notification);
|
||||
}
|
||||
|
||||
$this->empty_queue();
|
||||
}
|
||||
|
||||
protected function empty_queue()
|
||||
{
|
||||
$this->queue = array();
|
||||
|
Reference in New Issue
Block a user