that0n3guy/sts_commons_forum — pull request #1 by teglia (2013-01-03 22:36:54+00:00)
Title: Update sts_commons_forum.module

Reworking the 'if ($node->type == "group"' bits to use the OG method: og_is_group_type($node->type).

This allows the module to work with content types that are not named "group" but are still OG 'groups'.

Also, re-indented the file so that it conforms a bit better to coding standards.