I enabled the flag_abuse module and the only flag that was created was abuse_user.

I debugged this down to the problem where the three flags are split out into functions which are passed $flags by reference. Each of those functions then sets $flags = array(); which wipes out all other flags that have been created.

By deleting the three $flags = array(); in flag_abuse.flag_default.inc I was able to see all the default flags again.

Comments

dalinian’s picture

Issue summary: View changes

I agree the behavior you describe is not correct. I've just pushed changes that will resolve this issue. They are in the 7.x-2.x branch. I'll work on getting them into the development version soon, then hopefully we can move toward a new release candidate.

dalinian’s picture

Assigned: Unassigned » dalinian
dalinian’s picture

Status: Active » Needs review
dalinian’s picture

Status: Needs review » Closed (fixed)

This should be fixed in the new alpha release.