rather than getting og types via "variable_get('og_node_types', array('og'))" and looping through the results, use og's og_is_group_type() function.

Removes a few lines of code. Patch attached.

Comments

darren oh’s picture

Status: Reviewed & tested by the community » Needs work

Patch failed to apply. Patches should be based on the development version.

ryan_courtnage’s picture

StatusFileSize
new887 bytes

sorry. Attached is applied against HEAD (Revision 1.10.2.8) of Drupal-5 branch.

gracearoha’s picture

sorry to be a bonehead, but what exactly does this patch do?

darren oh’s picture

Status: Needs work » Fixed

Fixed in CVS commit 91697.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.