From 25b9ea24bfb75d62b01e2f7aceaaef100830b5a3 Mon Sep 17 00:00:00 2001 From: Nathan Guse Date: Thu, 27 Sep 2012 20:11:28 -0500 Subject: [PATCH] [ticket/11103] Note on the add_notifications function about the last change PHPBB3-11103 --- phpBB/includes/notifications/service.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/phpBB/includes/notifications/service.php b/phpBB/includes/notifications/service.php index 35d60a7c51..ebf4cef12d 100644 --- a/phpBB/includes/notifications/service.php +++ b/phpBB/includes/notifications/service.php @@ -254,6 +254,8 @@ class phpbb_notifications_service * Add a notification * * @param string|array $item_type Type identifier or array of item types (only acceptable if the $data is identical for the specified types) + * Note: If you send an array of types, any user who could receive multiple notifications from this single item will only receive + * a single notification. If they MUST receive multiple notifications, call this function multiple times instead of sending an array * @param array $data Data specific for this type that will be inserted */ public function add_notifications($item_type, $data, $options = array())