When browsing the code my eye was caught by the following code in oa_core_get_groups_by_user_access(). It seems to be a left over from a previous change and can be removed safely.

  if (empty($states)) {
    $states = array(OG_STATE_ACTIVE);
  }
CommentFileSizeAuthor
#2 2866713-oa_core-deadcode-1.patch649 bytesJorrit
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Jorrit created an issue. See original summary.

Jorrit’s picture

Status: Active » Needs review
FileSize
649 bytes
Jorrit’s picture

Component: Code » oa_core
mpotter’s picture

Status: Needs review » Fixed

Yep! Committed this to a2fe41c.

Jorrit’s picture

Thanks!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.