Problem/Motivation

To determine whether he moderators have changed and we need to rebuild the permissions, we've been peeking into ACL's $form and $form_state. This is bad style.

Proposed resolution

Use the new acl_edit_form_get_user_list_changed($form) function instead.

Comments

salvis created an issue. See original summary.

salvis’s picture

Status: Active » Needs review
StatusFileSize
new2.41 KB

Status: Needs review » Needs work

The last submitted patch, 2: forum_access-use-acl_edit_form_get_user_list_changed-3378086-2.patch, failed testing. View results
- codesniffer_fixes.patch Interdiff of automated coding standards fixes only.

  • salvis committed ace5ca66 on 8.x-1.x
    Issue #3378086 by salvis: Avoid using ACL internal data, use...
salvis’s picture

Status: Needs work » Fixed
salvis’s picture

Status: Fixed » Patch (to be ported)

Back-port to D7.

dillix’s picture

Status: Patch (to be ported) » Closed (outdated)

Drupal 7 has reached its EOL, so I'm closing this as outdated.