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

Command icon 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:

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

zopa created an issue. See original summary.

zopa’s picture

Status: Active » Needs review
markdorison’s picture

Status: Needs review » Reviewed & tested by the community

LGTM.

  • zopa committed f439bd8 on 1.x
    Issue #3193012 by zopa, markdorison: Remove unneeded check on hook_cron
    
zopa’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.