Opened 12 years ago
Closed 12 years ago
#5314 closed enhancement (fixed)
filter for friends notification
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 2.0 | Priority: | normal |
| Severity: | normal | Version: | |
| Component: | Toolbar & Notifications | Keywords: | |
| Cc: |
Description
mensions notification has a filter which provides handy variables.
but `friends_format_notifications` does not.
I think it will be good for function to provide `$item_id` and `$format`
Change History (6)
#1
@
12 years ago
- Component changed from Core to Notifications
- Milestone changed from Awaiting Review to 2.0
- Owner set to johnjamesjacoby
- Status changed from new to assigned
#3
@
12 years ago
- Keywords needs-testing added
mpa4hu - I've added the $item_id as an argument for the notification filters.
As for $format, I don't think that variable is necessary.
You can do a check for the format by checking if the notification is an array. If it is an array, then the format is 'array'. If not, then the format is 'string'.
Leaving it open for feedback.
Note: See
TracTickets for help on using
tickets.
In 8169: