We currently run a core hack to remove the per-feed aggregator blocks from the interface. We need that back because that page takes so long to save it falls over. :\

Comments

webchick’s picture

Tried and failed to use hook_block_info_alter() for this: #1550050: Removing blocks from hook_block_info_alter() leads to data loss

But in dinking around in Aggregator module, I noticed that it now has a new setting for "Number of items to show in block." If we loop through all the blocks and set this to 0 in an update hook, no more blocks! :)

webchick’s picture

The query is:

'UPDATE aggregator_feed SET block = 0'

Too tired to wrap this in an update hook tonight.

drumm’s picture

Assigned: Unassigned » drumm
Status: Active » Fixed

Committed, along with a form alter to discourage new feeds from being added.

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

  • Commit 71b2b6c on 7.x-3.x, 7.x-3.x-dev by drumm:
    [#1550044] Remove aggregator blocks from admin/structure/block
    
    
bpadaria’s picture

Issue summary: View changes

Thanks for sharing solution Webchick.

Your update query is very helpful.
I had to remove aggregator block as well as I have so many block feeds