As found in block.install:

/**
 * Refresh the block cache.
 */
function block_update_7000() {
  return array();
}
CommentFileSizeAuthor
#3 d7-block-update.patch554 bytesreaneyk

Comments

damien tournoud’s picture

Issue tags: +Novice

Tagging Novice.

reaneyk’s picture

Assigned: Unassigned » reaneyk

I'm assuming this does not belong in the install file since it is not doing anything?

reaneyk’s picture

StatusFileSize
new554 bytes

Here's a patch with the update function removed. I also noticed that the system module is doing the table name updates in system_update_7012. Should this be a modification made in a block module update?

reaneyk’s picture

Status: Active » Needs review
catch’s picture

Title: Fix block_update_7000() » Remove no-op block_update_7000()
Status: Needs review » Reviewed & tested by the community
Issue tags: +Quick fix

This was added in #345866: remove $op from hook_block(): Documentation - looks like it may just have been cruft left over from an earlier revision of the patch.

dries’s picture

Status: Reviewed & tested by the community » Fixed

Committed to CVS HEAD. Thanks!

Status: Fixed » Closed (fixed)
Issue tags: -Quick fix, -Novice

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