Skip to:

Opened 15 years ago

Closed 15 years ago

#1009 closed defect (bug) (fixed)

Accidentally removed function(s) in bp-activity.php

Reported by: jeffsayre's profile jeffsayre Owned by: jeffsayre's profile jeffsayre
Milestone: 1.1 Priority: critical
Severity: Version:
Component: Keywords:


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.

Attachments (1)

jeffsayre_1009_bp_activity.patch (1.4 KB) - added by jeffsayre 15 years ago.

Download all attachments as: .zip

Change History (2)

#1 @apeatling
15 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [1882]) Restoring missing set and get activity action functions. Fixes #1009 props jeffsayre.

Note: See TracTickets for help on using tickets.