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.
Problem/Motivation
In hook_cron, there's a redundant check for cached data - this is already handled by the method in the try block.
Proposed resolution
Remove the if around the try block in hook_cron
Issue fork drupal_contributions-3193012
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
zopa CreditAttribution: zopa at Chromatic commentedComment #4
markdorisonLGTM.
Comment #6
zopa CreditAttribution: zopa at Chromatic commented