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.
In #805702: Cron should use locking framework the cron_semaphore
using a variable was removed in favor of an implementation using the new lock api.
The function drupal_cron_cleanup
and its registration using drupal_register_shutdown_function
was never removed though. This is dead code now though. I'm providing a batch that cleans this up.
Comment | File | Size | Author |
---|---|---|---|
#2 | remove_cron_cleanup_1.patch | 1.23 KB | davyvdb |
remove_cron_cleanup.patch | 1.02 KB | davyvdb | |
Comments
Comment #1
bojanz CreditAttribution: bojanz commentedPlease roll a unified patch (diff -up).
Also, not sure if that contact.module hunk is supposed to be there.
Comment #2
davyvdb CreditAttribution: davyvdb commentedHere you go.
Comment #3
BerdirClosing as duplicate of #1775488: drupal_cron_cleanup is not converted to lock.
Comment #4
Berdir