use og's og_is_group_type()
rcourtna - December 2, 2007 - 21:21
| Project: | OG Calendar |
| Version: | 5.x-1.1 |
| Component: | Code |
| Category: | bug report |
| Priority: | minor |
| Assigned: | Unassigned |
| Status: | closed |
Description
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.
| Attachment | Size |
|---|---|
| og_calendar_grouptype.patch | 1.07 KB |

#1
Patch failed to apply. Patches should be based on the development version.
#2
sorry. Attached is applied against HEAD (Revision 1.10.2.8) of Drupal-5 branch.
#3
sorry to be a bonehead, but what exactly does this patch do?
#4
Fixed in CVS commit 91697.
#5
Automatically closed -- issue fixed for two weeks with no activity.