Postponed (maintainer needs more info)
Project:
OG Views Extra
Version:
6.x-1.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
12 Oct 2009 at 17:34 UTC
Updated:
13 Oct 2009 at 00:13 UTC
Thanks for the useful module! I filed this as a bug, even though it's just an enhancement. If the module grows, though, this could morph into a bug at some point.
og_views_extra_plugin_access_group_member::access() is nearly a duplicate of og_views_extra_is_group_member() -- it seems like the whole body of that member function should be replaced with:
<?php
return og_views_extra_is_group_member($this->options['membership']);
?>
Comments
Comment #1
kscheirerThis comes from my limited understanding of the access plugin API for views, I was following a pattern from someone else's code. The current structure seems to be required, though.