/** * 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); }
/** * 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) { dbg_deprecated('class Subscription'); $sub = new Subscription(); $sub->notifyaddresses($data); }