1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-12 19:54:12 +02:00

[ticket/11700] Correclty use namespaces in notifications

PHPBB3-11700
This commit is contained in:
Nils Adermann
2013-09-10 15:31:52 +02:00
parent 239381b946
commit 2a1207b14f
6 changed files with 21 additions and 19 deletions

View File

@@ -105,7 +105,7 @@ class phpbb_notification_submit_post_base extends phpbb_database_test_case
$notification_types_array = array();
foreach ($notification_types as $type)
{
$class_name = 'phpbb_notification_type_' . $type;
$class_name = '\phpbb\notification\type\\' . $type;
$class = new $class_name(
$user_loader, $db, $cache->get_driver(), $user, $auth, $config,
$phpbb_root_path, $phpEx,