You are here

function filemime_count in File MIME 7

Returns count of files in file_managed table.

2 calls to filemime_count()
filemime_apply in ./filemime.admin.inc
Generates confirm form.
filemime_apply_process in ./filemime.admin.inc
Batch process callback.

File

./filemime.admin.inc, line 40
Admin page callbacks for File MIME module.

Code

function filemime_count() {
  return db_query('SELECT COUNT(*) FROM {file_managed}')
    ->fetchField();
}