Needs review
Project:
Spaces
Version:
7.x-3.x-dev
Component:
Code
Priority:
Major
Category:
Feature request
Assigned:
Reporter:
Created:
24 Oct 2011 at 18:14 UTC
Updated:
1 Jul 2012 at 04:29 UTC
Attached is a patch that fixes the TODO:
// TODO determine what replaces this in D7.
| Comment | File | Size | Author |
|---|---|---|---|
| spaces_og.inc_.patch | 543 bytes | jon pugh |
Comments
Comment #1
arosboro commentedI 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...