]> git.mxchange.org Git - quix0rs-gnu-social.git/commit
Ticket #2441: fix deletion of avatars when a profile is deleted.
authorBrion Vibber <brion@status.net>
Fri, 19 Nov 2010 20:39:07 +0000 (12:39 -0800)
committerBrion Vibber <brion@status.net>
Fri, 19 Nov 2010 20:40:18 +0000 (12:40 -0800)
commit4b01dd8b2ec18c28a49fd8963dd7e31e73b4670b
tree93b13edfcdf70edf1f18d080b2c698caff5d9c38
parentd96192587451bfaaaa4889b7c69db0a2fbe14c41
Ticket #2441: fix deletion of avatars when a profile is deleted.

Code was doing a batch call to $avatar->delete() which fails to properly engage the file deletion code. Calling the existing profile->delete_avatars() function deletes them individually, which makes it all work nice again.
classes/Profile.php