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.
Full report is available here: http://pareview.sh/pareview/httpgitdrupalorgprojectsimpleaccessgit-7x-2x.
- Mostly added function docs, I had to guess quite a bit so feel free to use better descriptions :)
- Caught one stray dpm() call.
- Renamed 2 variables to use the simple_access_ namespace, instead of sa_.
- Removed some unused variables. In simple_access_profile_form() use $profile['pid'] where $pid was not defined.
Patch attached!
Comment | File | Size | Author |
---|---|---|---|
#4 | pareview-3.patch | 38.24 KB | kscheirer |
Comments
Comment #1
kscheirerComment #2
kscheirerI mistakenly thought there was a hook_node_save(). This patch doesn't change that function's docblock.
Comment #3
gordon CreditAttribution: gordon commentedThis is great, but because there is a change in variable names there needs to be an update script which will rename these for anyone upgrading.
Thanks again.
Comment #4
kscheirerDoh, sorry about that! Updated patch with a hook_update.
Comment #5
gordon CreditAttribution: gordon commentedThanks I have committed this to dev