The recent changes to block.module have accidentially broken the ability to delete custom blocks. This patch restores that ability.

CommentFileSizeAuthor
#1 block-no-delete-v2.patch885 bytesTDobes
block-no-delete.patch1.13 KBTDobes

Comments

TDobes’s picture

StatusFileSize
new885 bytes

Whoops... here's a patch that puts the delete operation in a separate cell to conform with the rest of Drupal. Please use it instead of my original patch.

drumm’s picture

A similar fix is rolled into http://drupal.org/node/14158. The only difference is that patch removes the confusing 'operation' variable in favor of of a ternary operator (which one could argue is confusing as well, but at least they aren't nested).

Steven’s picture

Marking this as a duplicate of the above mentioned issue.