Attached is a patch that fixes the TODO:
// TODO determine what replaces this in D7.

CommentFileSizeAuthor
spaces_og.inc_.patch543 bytesjon pugh

Comments

arosboro’s picture

I was confused about the difference between the og_context and context modules' static $context variables. I mistakenly thought they were referencing the same thing. I'm trying to set a context for the current group that applies to the context module and allows my features to be enabled/disabled. Maybe you can point me in the right direction.

During my debugging I tried your patch, and found that it prevents og_context_determine_context() from running. Meaning it bypasses the context handlers found in /admin/config/group/context, which may or may not be intentional.

Could be why the issue didn't receive any responses...