Opened 15 years ago
Closed 15 years ago
#1009 closed defect (bug) (fixed)
Accidentally removed function(s) in bp-activity.php
Reported by: | jeffsayre | Owned by: | jeffsayre |
---|---|---|---|
Milestone: | 1.1 | Priority: | critical |
Severity: | Version: | ||
Component: | Keywords: | ||
Cc: |
Description
I've been tracing a bug in my new privacy component and finally figured out that a key function in bp-activity.php had been deleted. I double checked bp-activity-deprecated.php but could not find it nor two other functions that have gone missing.
bp_activity_set_action() is a newly-created function that is used by components to register their activity stream actions. So, its lack in bp-activity.php must be an oversight. It is also most likely the culprit behind the recent reports on the forum of those who are running trunk, not seeing any activity items appearing in their tables.
I'm not sure if the other two functions [ bp_activity_get_action() and groups_get_activity_action() ] were meant to be deprecated. If so, they are not listed in deprecated.php.
I've created a patch file that adds all three back into bp-activity.php.
(In [1882]) Restoring missing set and get activity action functions. Fixes #1009 props jeffsayre.