? alt-title-fix-299329-32.patch
? imagecache-user-HEAD.patch
Index: imagecache.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/imagecache/imagecache.module,v
retrieving revision 1.87
diff -u -p -r1.87 imagecache.module
--- imagecache.module	7 Oct 2008 23:34:56 -0000	1.87
+++ imagecache.module	7 Oct 2008 23:37:55 -0000
@@ -518,8 +518,19 @@ function imagecache_build_derivative($ac
   return true;
 }
 
-
-
+/**
+ * Implementation of hook_user().
+ */
+function imagecache_user($op, &$edit, &$account, $category = NULL) {
+  // Flush cached old user picture.
+  if ($op == 'update' && !empty($account->picture)) {
+    imagecache_image_flush($account->picture);
+  }
+}
+ 
+/**
+ * Implementation of hook_imagefield_file().
+ */
 function imagecache_imagefield_file($op, $file) {
   switch ($op) {
     // Delete imagecache presets when imagecache images are deleted.
