LJ::User::dudata_set

LJ::User::dudata_set — Record or delete disk usage data for a journal.

Use

LJ::User::dudata_set(u, area, areaid, bytes);

Arguments

  • u. A hashref of a row from the user table, sometimes called a "user object". Although only initially a row from the user table, gets a lot of tacked onto it from various other LJ API functions.

  • area. One character: "L" for log, "T" for talk, "B" for bio, "P" for pic.

  • areaid. Unique ID within $area, or '0' if area has no ids (like bio)

  • bytes. Number of bytes item takes up. Or 0 to delete record.

Source:

cgi-bin/LJ/User.pm

Returns:

1.