hollie/misterhouse — pull request #124 by krkeegan (2013-03-15 01:48:55+00:00)
Title: Modify list_groups_by_object to allow for non-recursive listing

list_groups_by_object identifies all of the groups that an object is a member of. Currently, if an object is a member of a child group, the child and parent group will be returned in the list.

This change allows for only the groups which the object is a direct member of to be returned.

No code in MH currently uses this function, so altering it shouldn't have any impact. Additionally, only an additional argument was added, so any user code relying on this function should still work properly even with only a single argument.