function imagecache_user in ImageCache 6.2
Same name and namespace in other branches
- 5.2 imagecache.module \imagecache_user()
Implementation of hook_user().
File
- ./
imagecache.module, line 664 - Dynamic image resizer and image cacher.
Code
function imagecache_user($op, &$edit, &$account, $category = NULL) {
// Flush cached old user picture.
if ($op == 'update' && !empty($account->picture)) {
imagecache_image_flush($account->picture);
}
}