summaryrefslogtreecommitdiff
path: root/inc/subscription.php
diff options
context:
space:
mode:
authorGerrit Uitslag <klapinklapin@gmail.com>2014-05-20 23:00:48 +0200
committerGerrit Uitslag <klapinklapin@gmail.com>2014-05-20 23:00:48 +0200
commit0bb378687e0397cf4268ea411c65d60e6a51ddc6 (patch)
tree2739054c0c3520c25dc20dace0d62f5a73aa87cd /inc/subscription.php
parent140cfbcdb4e284716917a759600e8b417668d1bd (diff)
downloadrpg-0bb378687e0397cf4268ea411c65d60e6a51ddc6.tar.gz
rpg-0bb378687e0397cf4268ea411c65d60e6a51ddc6.tar.bz2
add replacements to event data of COMMON_NOTIFY_ADDRESSLIST
Diffstat (limited to 'inc/subscription.php')
-rw-r--r--inc/subscription.php8
1 files changed, 5 insertions, 3 deletions
diff --git a/inc/subscription.php b/inc/subscription.php
index a6f3dec44..aab6de926 100644
--- a/inc/subscription.php
+++ b/inc/subscription.php
@@ -650,9 +650,11 @@ class Subscription {
* @todo move the whole functionality into this class, trigger SUBSCRIPTION_NOTIFY_ADDRESSLIST instead,
* use an array for the addresses within it
*
- * @param array &$data Containing $id (the page id), $self (whether the author
- * should be notified, $addresslist (current email address
- * list)
+ * @param array &$data Containing the entries:
+ * - $id (the page id),
+ * - $self (whether the author should be notified,
+ * - $addresslist (current email address list)
+ * - $replacements (array of additional string substitutions, @KEY@ to be replaced by value)
*/
public function notifyaddresses(&$data) {
if(!$this->isenabled()) return;