diff options
author | Andreas Gohr <andi@splitbrain.org> | 2012-12-07 10:35:27 +0100 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2012-12-07 10:35:27 +0100 |
commit | e13e01da48b642dcdf3efe6864f0fc2bb5094455 (patch) | |
tree | 58bb5cd560d0f27fdb533e638daee8b707c2a4d8 | |
parent | 790b77202079261b11d425e0c814608d626eea70 (diff) | |
download | rpg-e13e01da48b642dcdf3efe6864f0fc2bb5094455.tar.gz rpg-e13e01da48b642dcdf3efe6864f0fc2bb5094455.tar.bz2 |
added compatibility function
-rw-r--r-- | inc/subscription.php | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/inc/subscription.php b/inc/subscription.php index bfbd95244..df6f1af32 100644 --- a/inc/subscription.php +++ b/inc/subscription.php @@ -604,4 +604,19 @@ class Subscription { } $data['addresslist'] = trim($addresslist.','.implode(',', $result), ','); } +} + +/** + * Compatibility wrapper around Subscription:notifyaddresses + * + * for plugins emitting COMMON_NOTIFY_ADDRESSLIST themselves and relying on on this to + * be the default handler + * + * @param array $data event data for + * + * @deprecated 2012-12-07 + */ +function subscription_addresslist(&$data){ + $sub = new Subscription(); + $sub->notifyaddresses($data); }
\ No newline at end of file |