Opened 14 years ago
Closed 14 years ago
#4561 closed defect (bug) (fixed)
Fix this hook please. -- action: groups_before_delete_group
| Reported by: | michael.ecklund | Owned by: | Michael Ecklund |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.7 |
| Component: | Groups | Version: | |
| Severity: | normal | Keywords: | needs-patch needs-testing |
| Cc: | info@… |
Description
bp-groups/bp-groups-functions.php Line: 212
The group is deleted before this hook is called.
If I hook into groups_before_delete_group, I cannot fetch the group info based upon the $group_id because the group has already been deleted.
Isn't the point of this hook to be called BEFORE a group is deleted?
Change History (2)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Correct. This is an error that appears to have been in place for years.