I’m wanting to remove a module from my Drupal 6.x sites.
I’ve identified that the module is only being used in one block and now have to trawl through 8 sites * 30 contexts to make sure it’s removed. Is there a quicker way to identify if my block is being used and where?
UPDATE: I’m using contexts to control my content placement, so viewing admin/build/blocks doesn’t do me any favors.
Had the same problem. Found a clunky way of doing it that involved using the DB.
First up, get the machine name of the block from the admin/build/blocks page e.g. block-74 then you can run a SELECT on the context table to get the contexts that are using the block.
replacing the table name and block name depending on your install. Hope that helps. Haven’t tested mega-thoroughly, but seemed to work OK for hunting down those tricky blocks.