diff options
author | Nathan Guse <nathaniel.guse@gmail.com> | 2012-09-27 20:11:28 -0500 |
---|---|---|
committer | Nathan Guse <nathaniel.guse@gmail.com> | 2012-09-27 20:11:28 -0500 |
commit | 25b9ea24bfb75d62b01e2f7aceaaef100830b5a3 (patch) | |
tree | e01eed1789cc60dc9671e58ca4beab609b961977 /phpBB/includes/notifications | |
parent | 2a5baad61bace05ee4907f7125555777cf7b1401 (diff) | |
download | forums-25b9ea24bfb75d62b01e2f7aceaaef100830b5a3.tar forums-25b9ea24bfb75d62b01e2f7aceaaef100830b5a3.tar.gz forums-25b9ea24bfb75d62b01e2f7aceaaef100830b5a3.tar.bz2 forums-25b9ea24bfb75d62b01e2f7aceaaef100830b5a3.tar.xz forums-25b9ea24bfb75d62b01e2f7aceaaef100830b5a3.zip |
[ticket/11103] Note on the add_notifications function about the last change
PHPBB3-11103
Diffstat (limited to 'phpBB/includes/notifications')
-rw-r--r-- | phpBB/includes/notifications/service.php | 2 |
1 files changed, 2 insertions, 0 deletions
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()) |