In that hook "edit" that is passed around is an object. this is inconsistent with the insert and update hook. I suggest casting it to an array.

Comments

killes@www.drop.org’s picture

Title: taxonome term delete » taxonomy term delete
Status: Active » Needs review
StatusFileSize
new1.04 KB

Here's a patch.

dries’s picture

module_invoke_all('taxonomy', 'delete', 'vocabulary', $vocabulary) appears to be an object too?

killes@www.drop.org’s picture

StatusFileSize
new1.38 KB

Well, we can fix that. :p

dries’s picture

Status: Needs review » Active

Committed this to HEAD. Marking this active until it has been documented in the upgrade guide. Thanks.

magico’s picture

Status: Active » Fixed

It should already be done, because this was for 4.7

Anonymous’s picture

Status: Fixed » Closed (fixed)