Delete profile_addresses_components rows where deleting profile_addresses ones
authorNicolas Iooss <nicolas.iooss_git@polytechnique.org>
Sun, 5 Oct 2014 14:35:14 +0000 (16:35 +0200)
committerNicolas Iooss <nicolas.iooss_git@polytechnique.org>
Sun, 5 Oct 2014 14:50:32 +0000 (16:50 +0200)
commit1aff3b59c0f46dafe3396c1123a252645805e233
tree07f84ef54676d29590711ce4b2fef29ac1605d76
parente0e01724d7ef7f388307d62639867ea0dbac0fdb
Delete profile_addresses_components rows where deleting profile_addresses ones

Commit 02228cb2df1e ("Properly deletes address components on address
deletion") only changed Address::delete, not Address::deleteAddresses,
which is used to delete a bunch of related addresses.  As a consequence,
addresses deleted with this function were not cleany removed from the
database.
classes/address.php