attached patch makes taxonomy module work w/ the deletion API. a few things:
- this patch is waiting on http://drupal.org/node/154046 -- so you'll need to apply that to test this properly.
- the deletion type names i picked where 'vocabulary' and 'term', for vocabulary and term, respectively -- seems straightforward enough... :)
- i've removed a call to taxonomy_del_term() that was in taxonomy_save_term(). it was there to delete a term if it was saved w/o a name, but name is a required field. since performing that kind of deletion isn't in line w/ dapi, and the use case was, well, useless -- i removed it.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | dapi_taxo_0.patch | 7.77 KB | hunmonk |
| dapi_taxo.patch | 7.66 KB | hunmonk |
Comments
Comment #1
hunmonk commentedconfirm form patch has been committed, so here's the updated version of this conversion. tested some vocab and term deletions, and all appears to be well.
Comment #2
drewish commentedI ran into :
and
but I don't think it's related to this patch. All the deletion looks good.
Comment #3
hunmonk commentedComment #4
webchickDeletion API was rolled back.