Needs review
Project:
Unique Avatar
Version:
5.x-1.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
6 Jan 2009 at 02:55 UTC
Updated:
6 Jan 2009 at 02:55 UTC
This module can delete pictures which are not user pictures. For example, if an avatar from the avatar_selection module is in use, and a new user picture is uploaded, the unique_avatar module will delete the avatar from the avatar_selection pool, which is not the intended behavior.
The attached patch makes unique_avatar check to see that the old picture is actually in the pictures directory before deleting it or clearing the image_cache cache.
| Comment | File | Size | Author |
|---|---|---|---|
| check_pictures_dir.patch | 1.49 KB | rfay |