mirror of
https://github.com/phpbb/phpbb.git
synced 2025-05-03 22:27:54 +02:00
Merge branch '3.3.x'
This commit is contained in:
commit
e5ddf24fb9
phpBB/phpbb/notification
tests/notification/fixtures
@ -410,12 +410,17 @@ class manager
|
||||
|
||||
foreach ($methods as $method)
|
||||
{
|
||||
// setup the notification methods and add the notification to the queue
|
||||
// Do not load non-existent notification methods
|
||||
if (!isset($this->notification_methods[$method]))
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
// Setup the notification methods and add the notification to the queue
|
||||
if (!isset($notification_methods[$method]))
|
||||
{
|
||||
$notification_methods[$method] = $this->get_method_class($method);
|
||||
}
|
||||
|
||||
$notification_methods[$method]->add_to_queue($notification);
|
||||
}
|
||||
}
|
||||
|
@ -159,5 +159,12 @@
|
||||
<value>notification.method.board</value>
|
||||
<value>0</value>
|
||||
</row>
|
||||
<row>
|
||||
<value>notification.type.bookmark</value>
|
||||
<value>0</value>
|
||||
<value>3</value>
|
||||
<value>notification.method.nonexistent</value>
|
||||
<value>1</value>
|
||||
</row>
|
||||
</table>
|
||||
</dataset>
|
||||
|
Loading…
x
Reference in New Issue
Block a user