[ticket/11103] Move notification files to includes/notification/

PHPBB3-11103
This commit is contained in:
Nathan Guse 2012-10-04 13:40:40 -05:00
parent 37e2473605
commit 64820546d7
18 changed files with 3 additions and 3 deletions

View file

@ -360,7 +360,7 @@ class phpbb_notification_manager
{ {
if (!isset($notification_methods[$method])) if (!isset($notification_methods[$method]))
{ {
$method_class_name = 'phpbb_notifications_method_' . $method; $method_class_name = 'phpbb_notification_method_' . $method;
$notification_methods[$method] = new $method_class_name($this->phpbb_container); $notification_methods[$method] = new $method_class_name($this->phpbb_container);
} }
@ -496,7 +496,7 @@ class phpbb_notification_manager
foreach ($this->get_subscription_files('notifications/method/') as $method_name => $file) foreach ($this->get_subscription_files('notifications/method/') as $method_name => $file)
{ {
$class_name = 'phpbb_notifications_method_' . $method_name; $class_name = 'phpbb_notification_method_' . $method_name;
if (!class_exists($class_name)) if (!class_exists($class_name))
{ {
@ -651,7 +651,7 @@ class phpbb_notification_manager
$item_type = preg_replace('#[^a-z_]#', '', $item_type); $item_type = preg_replace('#[^a-z_]#', '', $item_type);
} }
return 'phpbb_notifications_type_' . $item_type; return 'phpbb_notification_type_' . $item_type;
} }
/** /**