You are here

function upload_space_used in Drupal 6

Same name and namespace in other branches
  1. 4 modules/upload.module \upload_space_used()
  2. 5 modules/upload/upload.module \upload_space_used()

Determine how much disk space is occupied by a user's uploaded files.

Parameters

$uid: The integer user id of a user.

Return value

The amount of disk space used by the user in bytes.

File

modules/upload/upload.module, line 375
File-handling and attaching files to nodes.

Code

function upload_space_used($uid) {
  return file_space_used($uid);
}