attached patch converts block deletions to the deletion API. also fixed up a $form_state problem with block deletions, so the patch can be properly tested.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | dapi_block_1.patch | 1.91 KB | hunmonk |
| #3 | dapi_block_0.patch | 2.01 KB | hunmonk |
| dapi_block.patch | 1.91 KB | hunmonk |
Comments
Comment #1
drewish commentedi couldn't test this completely because there's a bug that prevents a blocks roles from being saved but it would seem to me that we should be deleting records from {block_roles} as well...
Comment #2
drewish commentedhttp://drupal.org/node/152585 fixes the saving problem...
Comment #3
hunmonk commentedre-rolled to include removing data from {blocks_roles}. looking at the code in HEAD, it seems that we've never deleted from {blocks_roles} when a block is deleted! perhaps we should work up a db upgrade for that. out of scope for this patch, of course...
Comment #4
hunmonk commentedre-rolled again to stay current w/ HEAD.
Comment #5
webchickTested and works! RTBC.
Comment #6
hunmonk commentedComment #7
webchickDeletion API was rolled back.