summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormoshe weitzman2009-08-10 19:52:33 (GMT)
committer moshe weitzman2009-08-10 19:52:33 (GMT)
commitc176bf240b7e0b55c4c6301f2c97e12b5c5d37a3 (patch)
treef919e2cba311365785d680ccf8ebc446f74746c4
parent4c374c7de12f100b1fc9c799290e24b27e709c61 (diff)
#489222 by moshe weitzman. 2x Group Posts option on add View page.
-rw-r--r--modules/og_views/og_views.views.inc10
-rw-r--r--og.module1
2 files changed, 0 insertions, 11 deletions
diff --git a/modules/og_views/og_views.views.inc b/modules/og_views/og_views.views.inc
index d12d5e0..6a3be4e 100644
--- a/modules/og_views/og_views.views.inc
+++ b/modules/og_views/og_views.views.inc
@@ -271,11 +271,6 @@ function og_views_data_og() {
function og_views_data_og_ancestry() {
$data['og_ancestry']['table']['group'] = t('Organic groups');
- $data['og_ancestry']['table']['base'] = array(
- 'field' => 'nid',
- 'title' => t('Group posts'),
- 'help' => t('Posts which are affiliated with a group.'),
- );
$data['og_ancestry']['table']['join'] = array(
'node' => array(
'left_field' => 'nid',
@@ -332,11 +327,6 @@ function og_views_data_og_ancestry() {
// --------- Table og_access_post
function og_views_data_og_access_post() {
$data['og_access_post']['table']['group'] = t('Organic groups');
- $data['og_access_post']['table']['base'] = array(
- 'field' => 'nid',
- 'title' => t('Group posts'),
- 'help' => t('Posts which are affiiated with a group.'),
- );
$data['og_access_post']['table']['join'] = array(
'node' => array(
'left_field' => 'nid',
diff --git a/og.module b/og.module
index 315dad3..16d5dbf 100644
--- a/og.module
+++ b/og.module
@@ -575,7 +575,6 @@ function og_get_group_context() {
* The group node object if set.
*/
function og_set_group_context($node = NULL, $clear = FALSE) {
- // ddebug_backtrace();
static $stored_group_node;
if ($clear) {