1
0
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:
Nathan Guse
2012-09-09 10:36:22 -05:00
parent 4b4ea7c5cd
commit ff45c9aa7c
8 changed files with 67 additions and 27 deletions

View File

@@ -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();