mirror of
https://github.com/phpbb/phpbb.git
synced 2025-05-11 18:15:20 +02:00
Merge branch '3.3.x'
This commit is contained in:
commit
e5ddf24fb9
@ -410,12 +410,17 @@ class manager
|
|||||||
|
|
||||||
foreach ($methods as $method)
|
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]))
|
if (!isset($notification_methods[$method]))
|
||||||
{
|
{
|
||||||
$notification_methods[$method] = $this->get_method_class($method);
|
$notification_methods[$method] = $this->get_method_class($method);
|
||||||
}
|
}
|
||||||
|
|
||||||
$notification_methods[$method]->add_to_queue($notification);
|
$notification_methods[$method]->add_to_queue($notification);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -159,5 +159,12 @@
|
|||||||
<value>notification.method.board</value>
|
<value>notification.method.board</value>
|
||||||
<value>0</value>
|
<value>0</value>
|
||||||
</row>
|
</row>
|
||||||
|
<row>
|
||||||
|
<value>notification.type.bookmark</value>
|
||||||
|
<value>0</value>
|
||||||
|
<value>3</value>
|
||||||
|
<value>notification.method.nonexistent</value>
|
||||||
|
<value>1</value>
|
||||||
|
</row>
|
||||||
</table>
|
</table>
|
||||||
</dataset>
|
</dataset>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user