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.
block.module defines block_block_configure() function as:
function block_block_configure($delta = 0, $edit = array()) {
The second parameter is not necessary as the invocation of the hook only passes a single parameter.
// Module-specific block configurations.
if ($settings = module_invoke($module, 'block_configure', $delta)) {
Will roll a patch as time allows unless someone else beats me to it.
Comment | File | Size | Author |
---|---|---|---|
#2 | block-useless-fun-param-554988-2.patch | 651 bytes | davyvdb |
#1 | block-useless-fun-param-554988.patch | 8.03 KB | davyvdb |
Comments
Comment #1
davyvdb CreditAttribution: davyvdb commentedComment #2
davyvdb CreditAttribution: davyvdb commentedDon't trust the previous one. Had some leftovers from other patch. This one's it.
Comment #3
Dries CreditAttribution: Dries commentedCommitted. Thanks.