LJ::expunge_userpic

LJ::expunge_userpic — Expunges a userpic so that the system will no longer deliver this userpic. If your site has off-site caching or something similar, you can also define a hook "expunge_userpic" which will be called with a picid and userid when a pic is expunged.

Use

LJ::expunge_userpic(u, picid);

Arguments

  • u. User object

  • picid. ID of the picture to expunge.

Source:

cgi-bin/ljuserpics.pl

Returns:

undef on error, or the userid of the picture owner on success.