You are here

function biblio_count_orphan_authors in Bibliography Module 7

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

Get the number of orphaned authors in the database.

Return value

int

1 call to biblio_count_orphan_authors()
BiblioContributorWebTestCase::testBiblioDeleteOrphanAuthors in tests/BiblioContributorWebTestCase.test

File

includes/biblio.contributors.inc, line 254

Code

function biblio_count_orphan_authors() {
  $cids = biblio_get_orphan_author_ids();
  return count($cids);
}