You are here

function _blogapi_space_used in Drupal 6

Same name and namespace in other branches
  1. 5 modules/blogapi/blogapi.module \_blogapi_space_used()
1 call to _blogapi_space_used()
blogapi_metaweblog_new_media_object in modules/blogapi/blogapi.module
Blogging API callback. Inserts a file into Drupal.

File

modules/blogapi/blogapi.module, line 947
Enable users to post using applications that support XML-RPC blog APIs.

Code

function _blogapi_space_used($uid) {
  return db_result(db_query('SELECT SUM(filesize) FROM {blogapi_files} f WHERE f.uid = %d', $uid));
}