The recent changes to block.module have accidentially broken the ability to delete custom blocks. This patch restores that ability.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | block-no-delete-v2.patch | 885 bytes | TDobes |
| block-no-delete.patch | 1.13 KB | TDobes |
The recent changes to block.module have accidentially broken the ability to delete custom blocks. This patch restores that ability.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | block-no-delete-v2.patch | 885 bytes | TDobes |
| block-no-delete.patch | 1.13 KB | TDobes |
Comments
Comment #1
TDobes commentedWhoops... 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.
Comment #2
drummA 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).
Comment #3
Steven commentedMarking this as a duplicate of the above mentioned issue.