summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--og.module8
1 files changed, 0 insertions, 8 deletions
diff --git a/og.module b/og.module
index 559e9b0..c71507a 100644
--- a/og.module
+++ b/og.module
@@ -251,14 +251,6 @@ function og_set_group_context($group_node = NULL) {
static $stored_group_node;
if (og_is_group_type($group_node->type)) {
$stored_group_node = $group_node;
- drupal_add_js(
- array('og' => array('group_context' => array(
- 'nid' => $group_node->nid,
- 'title' => $group_node->title,
- 'type' => $group_node->type,
- ))),
- 'setting'
- );
}
return $stored_group_node;
}