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.
I noticed recently that system.api.php still had references to hook_modules_disabled() and hook_disable() but they were both removed a while back.
I'm attaching a patch that removes the two references.
Change is minor, but extremely low risk (just removing two lines of documentation).
Comment | File | Size | Author |
---|---|---|---|
#2 | 2342023-2.patch | 686 bytes | rpayanm |
removing_outdated_function_references.patch | 687 bytes | Matt V. | |
Comments
Comment #1
jhedstromNeeds reroll after #2366583: Move module-related hooks out of system.api.php to new module.api.php.
Comment #2
rpayanmComment #3
ianthomas_ukI'm pretty confident the testbot isn't going to complain about that.
Functions are gone, not replaced and I couldn't find any other references in core.
Comment #4
catchCommitted/pushed to 8.0.x, thanks!