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.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | og_calendar.module.patch | 887 bytes | ryan_courtnage |
| og_calendar_grouptype.patch | 1.07 KB | ryan_courtnage |
Comments
Comment #1
darren ohPatch failed to apply. Patches should be based on the development version.
Comment #2
ryan_courtnage commentedsorry. Attached is applied against HEAD (Revision 1.10.2.8) of Drupal-5 branch.
Comment #3
gracearoha commentedsorry to be a bonehead, but what exactly does this patch do?
Comment #4
darren ohFixed in CVS commit 91697.
Comment #5
(not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.