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.