You are here

function biblio_count_orphan_authors in Bibliography Module 6

Same name and namespace in other branches
  1. 6.2 includes/biblio.contributors.inc \biblio_count_orphan_authors()
  2. 7 includes/biblio.contributors.inc \biblio_count_orphan_authors()
  3. 7.2 includes/biblio.contributors.inc \biblio_count_orphan_authors()

File

./biblio.contributors.inc, line 125

Code

function biblio_count_orphan_authors() {
  return db_result(db_query('SELECT COUNT(*) FROM {biblio_contributor_data} bcd WHERE bcd.cid NOT IN (SELECT DISTINCT(bc.cid) FROM {biblio_contributor} bc )'));
}