Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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);
}
Comment | File | Size | Author |
---|---|---|---|
#2 | 2866713-oa_core-deadcode-1.patch | 649 bytes | Jorrit |
Comments
Comment #2
Jorrit CreditAttribution: Jorrit at nCode for DOM Digital Online Media GmbH commentedComment #3
Jorrit CreditAttribution: Jorrit at nCode for DOM Digital Online Media GmbH commentedComment #4
mpotter CreditAttribution: mpotter at Phase2 commentedYep! Committed this to a2fe41c.
Comment #5
Jorrit CreditAttribution: Jorrit at nCode for DOM Digital Online Media GmbH commentedThanks!