remove javascript settings in D5 for now. they were getting recursion errors. 5.x-7.3
authormoshe weitzman
Wed, 2 Jul 2008 19:57:44 +0000 (19:57 +0000)
committermoshe weitzman
Wed, 2 Jul 2008 19:57:44 +0000 (19:57 +0000)
og.module

index 559e9b0..c71507a 100644 (file)
--- 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;
 }